Mount-vhd drive letter assignement

Jun 26, 2011 at 10:44 AM

Using the mount-vhd powershell cmdlet from the Management Library for Hyper-v (R2 Gold PSHyperv-r2 download). However though i can get a vhd mounted, i cannot assign a drive letter to the mount pount - whatever letter i try to use the mount always returns the next unused letter - so for instance if i try


mount-vh pathtovhd.vhd - driveletter X


the system always mounts the vhd as H or I (or whatever is the next free letter). I've tried various combinations of mount-vhd - driveletter formats but none seem to work.


What am i missing ?