Skip to content

Commit 7a76832

Browse files
PS Server 2022 Hyper-V: Remove VM
removed PS C:\> from the example 2 &3 so its not in the clipboard when copied.
1 parent 5786e16 commit 7a76832

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)