Skip to content

xVMDvdDrive

dscbot edited this page Jun 4, 2022 · 1 revision

xVMDvdDrive

Parameters

Parameter Attribute DataType Description Allowed Values
VMName Key String Specifies the name of the virtual machine to which the DVD drive is to be added.
ControllerNumber Key UInt32 Specifies the number of the controller to which the DVD drive is to be added.
ControllerLocation Key UInt32 Specifies the number of the location on the controller at which the DVD drive is to be added.
Path Write String Specifies the full path to the virtual hard disk file or physical hard disk volume for the added DVD drive.
Ensure Write String Specifies if the DVD Drive should exist or not. Present, Absent

Description

Manages DVD drives attached to a Hyper-V virtual machine.

Requirements

  • The Hyper-V Role has to be installed on the machine.
  • The Hyper-V PowerShell module has to be installed on the machine.