Skip to content

Commit 7c45858

Browse files
author
Thomas Raya
authored
Merge pull request MicrosoftDocs#3524 from MicrosoftDocs/main
Publish main to live, Thursday 10:30AM PDT, 6/15
2 parents 5ad635a + 3aa42ba commit 7c45858

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docset/winserver2022-ps/hyper-v/Set-VMDvdDrive.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,22 @@ The **Set-VMDvdDrive** cmdlet configures the controller and location of a virtua
3737

3838
### Example 1
3939
```
40-
PS C:\> Set-VMDvdDrive -VMName TestVM -Path .\WinBuild.iso
40+
Set-VMDvdDrive -VMName TestVM -Path .\WinBuild.iso
4141
```
4242

4343
Configures the virtual DVD drive of virtual machine TestVM to use WinBuild.iso as its media.
4444

4545
### Example 2
4646
```
47-
PS C:\> Set-VMDvdDrive -VMName TestVM -ControllerNumber 1 -ControllerLocation 0 -Path $null
47+
Set-VMDvdDrive -VMName TestVM -ControllerNumber 1 -ControllerLocation 0 -Path $null
4848
```
4949

5050
Configures the virtual DVD drive at IDE 1,0 of virtual machine TestVM to use no media.
5151
(This ejects any existing media from the virtual DVD drive.)
5252

5353
### Example 3
5454
```
55-
PS C:\> Get-VMDvdDrive -VMName TestVM -ControllerNumber 1 -ControllerLocation 0 | Set-VMDvdDrive -ToControllerLocation 1
55+
Get-VMDvdDrive -VMName TestVM -ControllerNumber 1 -ControllerLocation 0 | Set-VMDvdDrive -ToControllerLocation 1
5656
```
5757

5858
Moves virtual DVD drive from IDE 1,0 to IDE 1,1 on virtual machine TestVM.

0 commit comments

Comments
 (0)