CmdID / PowerShell / Cmdlets / Remove
Remove-VMDvdDrive
Deletes a DVD drive from a virtual machine. Windows Server PowerShell reference
From the Windows Server PowerShell reference 10 parameters Its page in the reference
Parameters
-CimSessionRuns the cmdlet in a remote session or on a remote computer.-ComputerNameSpecifies one or more Hyper-V hosts from which the DVD drive is to be deleted.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-ControllerLocationSpecifies the number of the location on the controller at which the DVD drive is to be deleted.-ControllerNumberSpecifies the number of the controller from which the DVD drive is to be deleted.-CredentialSpecifies one or more user accounts that have permission to perform this action.-PassthruSpecifies that an object is to be passed through to the pipeline representing the DVD drive to be deleted.-VMDvdDriveSpecifies the DVD drive to be deleted.-VMNameSpecifies the name of the virtual machine from which the DVD drive is to be deleted.-WhatIf, -wiShows what would happen if the cmdlet runs.