Skip to content

VMDvdDrive

dscbot edited this page Jun 12, 2022 · 2 revisions

VMDvdDrive

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. The default value is Present. 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.