VMware Cloud Community
Rajeev_S
Expert
Expert

VM Report Script

Hi,

I'm trying to create a VM report. I'm woring with the script mentioned in the below link

http://communities.vmware.com/thread/156231?tstart=0

I tried the command Get-VM | %{Get-View $_.ID} , it gave me the below error,

A parameter cannot be found that matches parameter name 'VirtualMachine-vm-1201'.

At line 13, position 82

Get-VM | %{Get-View $_.ID}

Not sure whats going wrong.

Appreciate any help.

0 Kudos
1 Reply
Rajeev_S
Expert
Expert

Basic Mistake. I was not using the latest version of VI toolkit. Upgrading it solved the issue.

Smiley Happy Have a good time everyone.

0 Kudos