Hello Guys
the problem is self-explanatory so i only put the screen shot here:
import-csv D:\2.csv |
ForEach-Object { new-vm-Name$_.VMname-MemoryStartupByte$_.memory-Path'c:\testfolder'-NewVHDPath$_.myvhdpath-NewVHDSizeBytes$_.myvhdsize }
ForEach-Object { new-vm-Name$_.VMname-MemoryStartupByte$_.memory-Path'c:\testfolder'-NewVHDPath$_.myvhdpath-NewVHDSizeBytes$_.myvhdsize }
i usually search before asking problems but here i really don't know what to search about this certain situation.
i guest there must be something related to variables in powershell !
thanks in advanced