VMware Cloud Community
zik
Enthusiast
Enthusiast
Jump to solution

Get-Harddisk bug

PS C:\> Get-Harddisk -VM $vm

Works fine.  Returns the disks for $vm.

PS C:\> cd vmstore:\mydatacenter\datastore1

PS vmstore:\mydatacenter\datastore1> Get-Harddisk -VM $vm

Returns the disks for $vm and also all disks on datastore1.

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
kmruddyVMW
Enthusiast
Enthusiast
Jump to solution

I have created an internal issue regarding this. Thank you very much for reporting it.

View solution in original post

0 Kudos
2 Replies
LucD
Leadership
Leadership
Jump to solution

Confirmed.
Nice catch!


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
kmruddyVMW
Enthusiast
Enthusiast
Jump to solution

I have created an internal issue regarding this. Thank you very much for reporting it.

0 Kudos