Hyper V VMs Hard Drive location

This is an easy and fast PowerShell command to check where are your VMs hard drives located

 
[sourcecode language=”powershell”]
get-vm -ComputerName "HVhostname" | Get-VMHardDiskDrive | select vmname,path
[/sourcecode]

Share