Quantcast
Channel: Virtual Machine Manager – General forum
Viewing all articles
Browse latest Browse all 728

Virtual Hard Disk Path

$
0
0

Prior to RU11 being installed I had the script below to retrieve the path of the hard disk file associated with a VM.

 $HardDrive = $VM.VirtualHardDisks
 $NewHDPath = $HardDrive[0].Directory

After installing RU11 the directory attribute is returned null for every VM. Did RU11 cause this or did something else? How else can I retrieve the path of a VHD hard disk?


A+, N+, MCP


Viewing all articles
Browse latest Browse all 728

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>