Skip to content

Commit 2834e8d

Browse files
Update Remove-AzStackHCIVMAttestation Examples (#16960)
1 parent 0643bfd commit 2834e8d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/StackHCI/help/Remove-AzStackHCIVMAttestation.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,18 @@ Remove-AzStackHCIVMAttestation removes guests from AzureStack HCI IMDS Attestati
3333
## EXAMPLES
3434

3535
### EXAMPLE 1
36-
```
37-
Removing all guests on current node
36+
```powershell
37+
Remove-AzStackHCIVMAttestation -RemoveAll
3838
```
3939

40-
C:\PS\>Remove-AzStackHCIVMAttestation -RemoveVM
40+
Removing all guests on current node
4141

4242
### EXAMPLE 2
43-
```
44-
Invoking from the management node/WAC
43+
```powershell
44+
Invoke-Command -ScriptBlock {Remove-AzStackHCIVMAttestation -VMName "guest1", "guest2"} -ComputerName "node1"
4545
```
4646

47-
C:\PS\>Invoke-Command -ScriptBlock {Remove-AzStackHCIVMAttestation -VMName "guest1", "guest2"} -ComputerName "node1"
47+
Invoking from the management node/WAC
4848

4949
## PARAMETERS
5050

0 commit comments

Comments
 (0)