Carter Chanklin, Product Manager at VMware's End User Enablement, recently released a new version of the VI toolkit extensions. Here are the improvements in build 44249.
Fixes to Get-TkeSnapshotExtended:
1. Fixed to work on both VirtualCenter and when directly connected to ESX
2. Fixed the "Int32" problem, hopefully for good this time.
Also added some more storage-related cmdlets:
1. Get-TkeAvailableDisk returns disks that are available creating VMFS partitions.
2. Format-TkeDisk takes the output of Get-TkeAvailableDisk and puts a VMFS3 filesystem on the disk.
Here’s a short “how to” use the extensions:
Upgrade to Windows PowerShell 2.0 Community Technology Preview (CTP2).
Download Download the VI Toolkit (for Windows) 1.0.
Download the viToolkitExtension.psm1 module at Codeplex and place it somewhere on your local disk.
Use Add-Module "C:\Temp\viToolkitExtensions.psm1" in your PowerShell script