CmdID

CmdID / PowerShell / Cmdlets / Add

Add-VMDvdDrive

Adds a DVD drive to a virtual machine. Windows Server PowerShell reference

From the Windows Server PowerShell reference 14 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

14 in the Windows Server PowerShell reference
-AllowUnverifiedPathsSpecifies that no error is to be thrown if the specified path is not verified as accessible by the cluster.
-CimSessionRuns the cmdlet in a remote session or on a remote computer.
-ComputerNameSpecifies one or more Hyper-v hosts on which the DVD drive is to be added.
-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 added.
-ControllerNumberSpecifies the number of the controller to which the DVD drive is to be added.
-CredentialSpecifies one or more user accounts that have permission to perform this action.
-PassthruPasses the added Microsoft.HyperV.PowerShell.DvdDrive through to the pipeline.
-PathSpecifies the full path to the virtual hard disk file or physical hard disk volume for the added DVD drive.
-ResourcePoolNameSpecifies the friendly name of the ISO resource pool to which this DVD drive is to be associated.
-VMSpecifies the virtual machine to which the DVD drive is to be added.
-VMDriveControllerSpecifies the drive controller to which the DVD drive is to be added.
-VMNameSpecifies the name of the virtual machine to which the DVD drive is to be added.
-WhatIf, -wiShows what would happen if the cmdlet runs.