Skip to content

Commit 30db84d

Browse files
authored
Fix a command in the Example code
I trust this was a typo or something. It cost me a VM (well, luckily, ARM lets us recover), but if this isn't fixed, others will copy-paste the example code, and will get wrong results!
1 parent cb572aa commit 30db84d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ResourceManager/Compute/Commands.Compute/help/Remove-AzureRmVMSecret.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The Remove-AzureRmVMSecret cmdlet removes (a) secret(s) from a virtual machine o
2323

2424
### Example 1
2525
```
26-
PS C:\> Get-AzureRmVM -ResourceGroupName "rg1" -Name "vm1" | Remove-AzureRmVM | Update-AzureRmVM
26+
PS C:\> Get-AzureRmVM -ResourceGroupName "rg1" -Name "vm1" | Remove-AzureRmVMSecret | Update-AzureRmVM
2727
```
2828

2929
Removes all secrets from a virtual machine "vm1" in resource group "rg1" and update the VM

0 commit comments

Comments
 (0)