Get-cddrive bug in powercli


I was wondering why my script does not show any iso files mounted for a VM. It took me some time to find it out…

http://communities.vmware.com/message/1549690

So when you are suspecting your powercli version that you have the same buggy version, just remember that there is wrong property name, there is no “iso”, instead use isopath . Quick example:

get-cddrive -vm VM-NAME | select-object name, isopath

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s