Skip to content

Commit 571d011

Browse files
authored
Merge pull request MicrosoftDocs#3521 from MicrosoftDocs/main
Publish main to live, Wednesday 10:30AM PDT, 6/14
2 parents 721313e + 35742c1 commit 571d011

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
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.

docset/winserver2022-ps/hyper-v/Remove-VM.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@ Removes virtual machine new 1.
4444

4545
### Example 2
4646
```
47-
PS C:\> Remove-VM -Name "new 2" -Force
47+
Remove-VM -Name "new 2" -Force
4848
```
4949

5050
Removes virtual machine new 2, suppressing the confirmation prompt.
5151

5252
### Example 3
5353
```
54-
PS C:\> Get-VM -Name New* | Remove-VM -Force
54+
Get-VM -Name New* | Remove-VM -Force
5555
```
5656

5757
Removes with no confirmation prompt all virtual machines having names starting with New.

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