Remove-CDDrive
This cmdlet removes virtual CD drives from their locations.
Syntax
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required
|
CD | CDDrive[] | named |
|
Specifies the virtual CD drives you want to remove. |
optional | ProgressAction | ActionPreference | named |
|
Output
Examples
Example 1
$cd = Get-CDDrive -VM $vm Remove-CDDrive -CD $cd
Removes all CD drives for the specified virtual machines and templates.
Related Commands
CDDrive
This cmdlet retrieves virtual CD drives.
This cmdlet creates a new virtual CD drive.
This cmdlet removes virtual CD drives from their locations.
This cmdlet modifies the configuration of a virtual CD drive.