I just wanted to make a quick post to show you how to connect to a VMware Server (version 2 required) with the VI Toolkit. As Server uses a different default port than VirtualCenter (which uses 443), you must specify it to the Connect-VIServer cmdlet.
PS > $vi = Connect-VIServer magneto -Port 8333 There were one or more problems with the server certificate: * A certification chain processed correctly, but terminated in a root certificate which isn't trus ted by the trust provider. PS > Get-VM PS > New-VM -Name testvm -MemoryMB 256 -DiskMB 10 -RunAsync Name State % Complete Start Time Finish Time ---- ----- ---------- ---------- ----------- CreateVM_Task Running 0 02:07:41 PM PS > Get-Datastore Name FreeSpaceMB CapacityMB ---- ----------- ---------- standard 67208 76308

This looks very promising. thanks for sharing.