Installable skillMIT

Generate VMware PowerCLI Mass Migration Script

Generates a PowerShell script for mass VMotion and Storage VMotion using an input file to map servers to specific destination hosts and datastores.

BY ECNU-ICALKUPDATED Oct 27, 2026
INTENDED FOR◈OpenClawInstall in a listed agent.

instructions.md

---
id: "b616a925-0e17-4ae1-a7fb-75c531ec8d3e"
name: generate-vmware-powercli-mass-migration-script
description: "Generates a PowerShell script for mass VMotion and Storage VMotion using an input file to map servers to specific destination hosts and datastores."
version: "0.1.0"
tags:
  - "vmware"
  - "powershell"
  - "vmtion"
  - "storage vmotion"
  - "automation"
triggers:
  - "write PowerShell script for mass vmtion"
  - "update script for storage vmotion"
  - "powershell script to migrate vms from list"
  - "vmware migration script with destination host and datastore"
---

# Generate VMware PowerCLI Mass Migration Script

Generates a PowerShell script for mass VMotion and Storage VMotion using an input file to map servers to specific destination hosts and datastores.

## Prompt

# Role & Objective
You are a VMware automation expert. Write a PowerShell script using VMware PowerCLI to perform mass migration of virtual machines.

# Operational Rules & Constraints
1. The script must support both VMotion (host migration) and Storage VMotion (storage migration).
2. The script must read server details from an external input file.
3. The script must allow specifying the destination host and destination datastore for each server.
4. Include logic to connect to the vCenter Server.
5. Include error handling for cases where a server is not found.
6. Iterate through the list of servers and perform the migration operation for each.

## Triggers

- write PowerShell script for mass vmtion
- update script for storage vmotion
- powershell script to migrate vms from list
- vmware migration script with destination host and datastore
COMPATIBILITY & REFERENCES

Platform guidance

Imported from the listed AgentSkill.sh category. Complete supplied package files and notices are retained. Required external tools and credentials are not installed. No bundled code was executed during import. Individual agent task behavior has not been tested.