This is the built-in help made by Microsoft for the command 'Add-VMDvdDrive', in PowerShell version 5 - as retrieved from
Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.
For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.
Adds a DVD drive to a virtual machine.
Add-VMDvdDrive [-VMName] <String[]> [[-ControllerNumber] <Int32>] [[-ControllerLocation] <Int32>] [[-Path] <String>] [-AllowUnverifiedPaths] [-ComputerName <String[]>]
[-Passthru] [-ResourcePoolName <String>] [-Confirm] [-WhatIf] [<CommonParameters>]
Add-VMDvdDrive [-VM] <VirtualMachine[]> [[-ControllerNumber] <Int32>] [[-ControllerLocation] <Int32>] [[-Path] <String>] [-AllowUnverifiedPaths] [-Passthru]
[-ResourcePoolName <String>] [-Confirm] [-WhatIf] [<CommonParameters>]
Add-VMDvdDrive [-VMDriveController] <VMDriveController[]> [[-ControllerLocation] <Int32>] [[-Path] <String>] [-AllowUnverifiedPaths] [-Passthru] [-ResourcePoolName <String>]
[-Confirm] [-WhatIf] [<CommonParameters>]
The Add-VMDvdDrive cmdlet adds a DVD drive to a virtual machine.
<
Online Version: http://go.microsoft.com/fwlink/?LinkID=306808
<
Example 1
PS C:\>Add-VMDvdDrive -VMName Test –Path D:\ISOs\disc1.iso
This example adds a virtual DVD drive using file D:\ISOs\disc1.iso to virtual machine Test.
Example 2
PS C:\>Get-VM Test | Add-VMDvdDrive -ControllerNumber 1
This example adds a virtual DVD drive using controller number 1 to virtual machine Test.
Example 3
PS C:\>Get-VMIdeController –VMName Test | Add-VMDvdDrive –Path E:\
This example adds virtual DVD drives using the IDE controllers from virtual machine Test.