Skip to content

Commit 1b7789c

Browse files
Update Add-VMDvdDrive.md
removed PS C:> from examples 1-3 so it's not in the clipboard when copied.
1 parent 5786e16 commit 1b7789c

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy