OpticalDiskDrives is used to set the drive letter of an optical disk drive (e.g. a CDROM or DVD drive).
Source |
|
DSC Resource |
|
Documentation |
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
Mandatory |
Hashtable[] |
List of optical disk 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. |
|
Ensure |
String |
Determines whether a drive letter should be assigned to the optical disk. |
|
Example
OpticalDiskDrives:
Drives:
- DiskId: 1
DriveLetter: F
Ensure: Present
- DiskId: 2
Ensure: Absent
- DiskId: 3
DriveLetter: G