Thaidog
asked on
Will these powercli commands wait to happen or will they execute at the same time?
I have a simple script to move (Svmotion) some VMs - eg;
Will these powercli commands wait to happen or will they execute at the same time? What would I do to get them to execute at the same time?
Get-VM “MyVM1“ |Move-VM -datastore (Get-datastore “MyDatastore1“)
Get-VM “MyVM2“ |Move-VM -datastore (Get-datastore “MyDatastore2“)
Get-VM “MyVM3“ |Move-VM -datastore (Get-datastore “MyDatastore3“)
Get-VM “MyVM4“ |Move-VM -datastore (Get-datastore “MyDatastore4“)
Will these powercli commands wait to happen or will they execute at the same time? What would I do to get them to execute at the same time?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
@sedgwick - when you work with jobs, are those jobs processed by the local machine, or the remote machines? If by remote machines, do they have to have powershell? same version of powershell?