Friday, February 8, 2013

Copy files form VMware datastore with PowerCLI.



$input1 = read-host "enter"
Copy-DatastoreItem "vmstore:\\datacenter1\datastore1\*$input1*" c:\vmware\bkups -Recurse


I copy files from a datastore to my local PC on a regular basis. Of course you need to install PowerCLI on the local PC.

No comments: