agentsclimarketplace

Generate vmware powercli mass migration script

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/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.From its SKILL.md

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill generate-vmware-powercli-mass-migration-script

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

SKILL.md

1.6 KB, 213 tokens by cl100k_base, as published. Nobody here has run it

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

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.