Ok, someone tell me why this is not working? Geez, I hope because it is beta? I have not tripped over a bug... Have a ESX 3.5 Update 1 host. That is it, no VirtualCenter server, keeping things simple. Have a Window XP/sp2 workstation.
Get-ESX works....
PS C:\Program Files\VMware\Infrastructure\VIToolkitForWindows> Get-ESX -server 192.168.15.90 -user root -password <password>
Name
-
192.168.15.90
Get-VMhost works...
PS C:\Program Files\VMware\Infrastructure\VIToolkitForWindows> Get-VMhost
Name State Id
-
-
--
test.domain.com Connected HostSys...
But if I try to use New-VM...
PS C:\Program Files\VMware\Infrastructure\VIToolkitForWindows> New-VM -name TEST -host ( Get-VMHost ) -memoryMB 256 -diskMB 1000
New-VM : Object reference not set to an instance of an object.
At line:1 char:7
+ New-VM <<<< -name TEST -host ( Get-VMHost ) -memoryMB 256 -diskMB 1000
Even following the examples in blogs, forums...
PS C:\Program Files\VMware\Infrastructure\VIToolkitForWindows> get-vmhost | new-vm -name "test" -memorymb 256 -diskmb 4000
New-VM : Object reference not set to an instance of an object.
At line:1 char:20
+ get-vmhost | new-vm <<<< -name "test" -memorymb 256 -diskmb 4000
I find a lot of example that SAY they work... but no actual output proving they work, and I know someone has to have go this working, right? HELP!