deang1609
Enthusiast
Enthusiast

To return the name of the virtual machine name associated with the virtual machine hard disk from the Get-HardDisk cmdlet output you will need to select the Parent property value of the output. For Example:

Get-VM cbslnpcs1 | Get-HardDisk | Select Parent, CapacityGB

Dean Grant Blog: deangrant.wordpress.com | Twitter: @dean1609 | GitHub: https://github.com/dean1609

View solution in original post

Reply
0 Kudos