Skip to content

Commit 318b0ec

Browse files
authored
Merge pull request #3518 from XXLMandalorian013/patch-1
Update Add-VMDvdDrive.md
2 parents 5786e16 + 1b7789c commit 318b0ec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,21 +42,21 @@ The **Add-VMDvdDrive** cmdlet adds a DVD drive to a virtual machine.
4242

4343
### Example 1
4444
```
45-
PS C:\> Add-VMDvdDrive -VMName Test -Path D:\ISOs\disc1.iso
45+
Add-VMDvdDrive -VMName Test -Path D:\ISOs\disc1.iso
4646
```
4747

4848
This example adds a virtual DVD drive using file D:\ISOs\disc1.iso to virtual machine Test.
4949

5050
### Example 2
5151
```
52-
PS C:\> Get-VM Test | Add-VMDvdDrive -ControllerNumber 1
52+
Get-VM Test | Add-VMDvdDrive -ControllerNumber 1
5353
```
5454

5555
This example adds a virtual DVD drive using controller number 1 to virtual machine Test.
5656

5757
### Example 3
5858
```
59-
PS C:\> Get-VMIdeController -VMName Test | Add-VMDvdDrive -Path E:\
59+
Get-VMIdeController -VMName Test | Add-VMDvdDrive -Path E:\
6060
```
6161

6262
This example adds virtual DVD drives using the IDE controllers from virtual machine Test.

0 commit comments

Comments
 (0)