From 6d8f31528c3cd05ca3c2c94cb7ce01130e9d032f Mon Sep 17 00:00:00 2001 From: Drew McClellan Date: Wed, 14 Jun 2023 12:04:07 -0400 Subject: [PATCH] Update Set-VMDvdDrive.md I removed PS C:\ from the examples so they are not copied to the clipboard. --- docset/winserver2022-ps/hyper-v/Set-VMDvdDrive.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docset/winserver2022-ps/hyper-v/Set-VMDvdDrive.md b/docset/winserver2022-ps/hyper-v/Set-VMDvdDrive.md index c340f55be1..eb014147d9 100644 --- a/docset/winserver2022-ps/hyper-v/Set-VMDvdDrive.md +++ b/docset/winserver2022-ps/hyper-v/Set-VMDvdDrive.md @@ -37,14 +37,14 @@ The **Set-VMDvdDrive** cmdlet configures the controller and location of a virtua ### Example 1 ``` -PS C:\> Set-VMDvdDrive -VMName TestVM -Path .\WinBuild.iso +Set-VMDvdDrive -VMName TestVM -Path .\WinBuild.iso ``` Configures the virtual DVD drive of virtual machine TestVM to use WinBuild.iso as its media. ### Example 2 ``` -PS C:\> Set-VMDvdDrive -VMName TestVM -ControllerNumber 1 -ControllerLocation 0 -Path $null +Set-VMDvdDrive -VMName TestVM -ControllerNumber 1 -ControllerLocation 0 -Path $null ``` Configures the virtual DVD drive at IDE 1,0 of virtual machine TestVM to use no media. @@ -52,7 +52,7 @@ Configures the virtual DVD drive at IDE 1,0 of virtual machine TestVM to use no ### Example 3 ``` -PS C:\> Get-VMDvdDrive -VMName TestVM -ControllerNumber 1 -ControllerLocation 0 | Set-VMDvdDrive -ToControllerLocation 1 +Get-VMDvdDrive -VMName TestVM -ControllerNumber 1 -ControllerLocation 0 | Set-VMDvdDrive -ToControllerLocation 1 ``` Moves virtual DVD drive from IDE 1,0 to IDE 1,1 on virtual machine TestVM.