Tag Archives: Storage vMotion

PowerCLI Script – VMware Storage vMotion Automation

I recently got a task to migrate more than 100 VMware virtual machine from one sets of datastores to another. In order to automate this process, I draft a simple PowerShell script to perform below tasks:

  1. Utilize CSV file as the input; and
  2. The maximum running parallel storage vMotion sessions can be controlled by input option, this is to avoid storage overhead and minimize the impact on the other running applications.

The script is as below:

Continue reading