- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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