You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to attach an ISO to Generation 2 VM, it fails when calling Get-VMIdeController with the following error:
Get-VMIdeController : Generation 2 virtual machines do not support IDE.
At C:\Users\Iain\Dropbox\PowerShell\Modules\Lability\DSCResources\xHyper-V\DSCResources\MSFT_xVMDvdDrive\MSFT_xVMDvdDrive.psm1:396 char:20+ ...-and-not (Get-VMIdeController-VMName $VMName-ControllerNumber $Co ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Get-VMIdeController], VirtualizationException
+ FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.GetVMIdeController
Adding -ErrorAction SilentlyContinue to the Get-VMIdeController call in the Test-ParameterValid method does appear to resolve the problem.
The text was updated successfully, but these errors were encountered:
iainbrighton
changed the title
xVMDvdDrive: Get-VMIdeController fails on Generation 2 VM
xVMDvdDrive: Get-VMIdeController fails on Gen 2 VM
Aug 16, 2017
bgelens
changed the title
xVMDvdDrive: Get-VMIdeController fails on Gen 2 VM
xVMDvdDrive - Get-VMIdeController fails on Gen 2 VM
Aug 20, 2017
When attempting to attach an ISO to Generation 2 VM, it fails when calling
Get-VMIdeController
with the following error:Adding
-ErrorAction SilentlyContinue
to theGet-VMIdeController
call in the Test-ParameterValid method does appear to resolve the problem.The text was updated successfully, but these errors were encountered: