Tuesday, December 09, 2008

Scripting VMware Infrastructure with PowerShell

You can script VMware Server and VMware Infrastructure using Microsoft PowerShell CmdLets and the VMware VI Toolkit. It's really great for scheduling and automating tasks, since the scheduler in VMware Infrastructure Client is severely limited

You need to install the .NET Framework (2.0 at least), PowerShell 1.0 and the VMware VI Toolkit. All are freely available.

Get-VICommand to list available cmdlets and read the VI Toolkit Cmdlets Reference for documentation.