get-content "c:\scripts\VMLIST.txt" | foreach-object { shutdown-vmguest $_ -confirm:$false }sleep 30get-content "c:\scripts\VMLIST.txt" | foreach-object { set-vm $_ -memoryGB 2 -numCPU 1 -confirm:$false | start-vm }
No comments:
Post a Comment