Remove-CDDrive

This cmdlet removes virtual CD drives from their locations.

Syntax

-CD  <CDDrive[]>
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
CD
CDDrive[] named
  • pipeline
  • Specifies the virtual CD drives you want to remove.

    Output

    Examples


    Example 1

    $cd = Get-CDDrive -VM $vm -Template $template
    Remove-CDDrive -CD $cd

    Removes all CD drives for the specified virtual machines and templates.

    Related Commands

    Feedback

    Was this page helpful?