Hi there
I am looking for a bit of help to script the following senario.
I want to run a script on our production cluster to get a list of VMs and the Folder location in vCenter then export to a csv file.
then at our DR site i want to use that csv file to move the list of VMs to the correct folders.
I have the script below already
Move-VM -VM fileserver1 -Destination (Get-Folder -Name "File Servers")
but would need to have a line per VM that would constantly need updating.
any help much appreciated.
S