Hi All,
We are developing a website, our requreiment was to export a particular VM which running under vcenter server and uploaded to a shared folder or local hard disk which hosted in the vcenter server.
i want this task to be done by vmware pcli using powershell script.
Thanks
Y
Discussion moved from VMware vCenter™ Server to VMware vSphere™ PowerCLI
You can use the Copy-DatastoreItem cmdlet to copy files, including the .VMDK file(s), from a Datastore to a local disk.
An alternative is to use the Datastore provider. See the vSphere PowerCLI Administration Guide that comes with the installation of PowerCLI.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference