PowerCLI

Tag-Based vMotion with PowerCLI to place VMs on preferred hosts

VMware customers with a license that includes the Distributed Resource Scheduler (DRS) can work with affinity and anti-affinity rules for virtual machines and hosts to keep virtual machines on preferred hosts. Customers without DRS do not have such a built-in feature. After a server failure or after maintenance virtual machines may be on different hosts and not running on the host where you would want them to run.

Getting started with PowerCLI

PowerCLI is an extension to Microsoft PowerShell which allows VMware administrators to automate tasks in their VMware environment. This article is a very brief guide to getting started with PowerCLI. 

1. Download and install a recent version of Powershell

It might already be installed on your machine but if not download and install the most recent version from the Microsoft PowerShell website.

Tags

Migrating Virtual Machines to a preferred host with PowerCLI

VMware customers with a license that includes the Distributed Resource Scheduler (DRS) can work with affinity and anti-affinity rules for virtual machines and hosts to keep virtual machines on preferred hosts. Customers without DRS do not have such a built-in feature. After a server failure or after maintenance virtual machines may be on different hosts and not running on the host where you would want them to run.

Tags