VMWare VI Toolkit 1.0 Beta (for PowerShell)
March 14th 2008, VMWare launches the beta release of the VI Toolkit. I'm actually excited about this release as I manage a large ESX environment with over 100 VMs. The VI Toolkit provides 102 custom cmdlets written for ESX and VirtualCenter. So what can I do with these new cmdlets?
Here are some examples for the VMWare site:
Snapshot all of your virtual machines at once with a script like:
Get-VM | % { New-Snapshot -VM $_ -Name ($_.name + "-current") }
Automate long-running tasks like cloning using a script like:
foreach ($i in 1..30) { Get-Template "My Template" | New-VM -Name "Clone $i" }
Disconnect connected CD-ROM drives (to enable VMware VMotion, for example) using a script like:
Get-VM | Get-CDDrive | `
? { $_.ConnectionState.Connected -eq "true" } | `
Set-CDDrive -Connected:$false -Confirm:$false
Documentation provided:
- VI API .Net Namespace Reference
- VI Toolkit Cmdlets Reference
Documentation location (default install): C:\Program Files\VMware\Infrastructure\VIToolkitForWindows
Click to Download the VMWare VI Toolkit
Email This Post To A Friend
« PowerShell WMI Tutorial Part 3 (Report Writing) Launched | Home | Learn how to utilize .Net Objects in PowerShell »
Comments
i enter to this page
http://www.powershellpro.com/vmware-vitoolkit/183/
the link of “Click to Download the Vmware VI toolkit ” is not working
thanks
Leave a Comment