[System.Media.SystemSounds]::Beep.Play();
VMware have now released the full version of VMware Infrastructure Toolkit 1.0
With the VI toolkit you can automate standard management tasks like cloning, moving, starting or stopping virtual machines and hosts true PowerShell. VI Toolkit takses advantage of the exisiting VMware Infrastructure SDK and translate it into a PowerShell interface.
http://www.vmware.com/sdk/vitk_win/index.html?src=EM_0803_VMW_OTHER_VITOOLKIT_DOWNLOAD
After you have installed PowerShell and VI Toolkit on your computer, you have to add the VI Toolkit powershell snapin:
# List the snappins you allready have installed:
PS C:\> get-pssnapin
# List registered snapins:
PS C:\> Get-PSSnapin -Registered
# Add the VMware.VimAutomation.Core snappin:
PS C:\> Add-PSSnapin VMware.VimAutomation.Core
# Connect to your Virtual Center server:
PS C:\> Get-VIServer x.x.x.x -User admin -Password xxxxxxx
# List virtual maschines who are powered on:
PS C:\> get-vm | Where-Object {$_.powerstate -eq ‘PoweredOn’}
| Skriv ut artikellen | Dette innlegget ble postet av Lars Jostein den 19 August, 2008 klokken 10:05, og ligger i kategorien PowerShell, VMware, Virtualization. Du kan følge alle svar på dette innlegget via RSS 2.0. Du kan legge inn en kommentar eller lage en trackback fra din egen side. |