Not all the VMs on the datastore need to be moved, only those that are part of a specific project.
Would this work?
Get-VM -Name $ent.vmnames -Datastore "*QADEVOS_VSP986*" |
Not all the VMs on the datastore need to be moved, only those that are part of a specific project.
Would this work?
Get-VM -Name $ent.vmnames -Datastore "*QADEVOS_VSP986*" |