Skip to content

Latest commit

 

History

History
87 lines (69 loc) · 1.87 KB

OpticalDiskDrives.adoc

File metadata and controls

87 lines (69 loc) · 1.87 KB

DSC Resource 'OpticalDiskDrives'

OpticalDiskDrives is used to set the drive letter of an optical disk drive (e.g. a CDROM or DVD drive).

Source

DSC Resource

Documentation

Table 1. Attributes of category 'OpticalDiskDrives'
Parameter Attribute DataType Description Allowed Values

Drives

Mandatory

Hashtable[]

List of optical disk drives

Table 2. Attributes of category 'OpticalDiskDrives/Drives'
Parameter Attribute DataType Description Allowed Values

DiskId

Key

String

Specifies the optical disk number for the disk to assign the drive letter to.

DriveLetter

Required

String

Specifies the drive letter to assign to the optical disk.
Can be a single letter, optionally followed by a colon.
This value is ignored if Ensure is set to Absent.

Ensure

String

Determines whether a drive letter should be assigned to the optical disk.

  • Present (default)

  • Absent

Example
OpticalDiskDrives:
  Drives:
    - DiskId: 1
      DriveLetter: F
      Ensure: Present
    - DiskId: 2
      Ensure: Absent
    - DiskId: 3
      DriveLetter: G