Quantcast
Channel: Hyper-V forum
Viewing all articles
Browse latest Browse all 19461

Set-VMDvdDrive fails to attach to second channel.

$
0
0

Does anyone know why location #1 fails, but #0 works? This is a Gen1 vm on a WS2012R2 host. $dvd is $null for me.

param([string] $vm, [string] $iso)

$dvd = Set-VMDvdDrive -ComputerName . -VMName $vm -Passthru -ControllerNumber 1 -ControllerLocation 1 -Path $iso
"dvd $dvd"

If there is a bug then I can probably work around it by using a SCSI controller instead of the second channel of either IDE controller.


Viewing all articles
Browse latest Browse all 19461

Trending Articles



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