Copying files and directories from one datastore to another ?

This post was originally published on this site

I have been searching for a while for very simple script to copy all folders and their content from one datastore to another datastore.

These are not VM’s so vmotion is not an option as far as I know. These are OVA files and ISO files in their own folders and misc. files of that sort. No running VM’s.


Found this:

Managing the VMware datastore with PowerCLI (PowerShell) – 4sysops
But ideally I would like this to run all without using PSDrive so my workstation is not involved in moves at all.


One would think this is an easy task but the more I search for a simple script the harder the problem gets.


Any suggestions on this?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.