Skip to content

Commit 11f50a2

Browse files
author
maddieclayton
authored
Merge pull request Azure#5226 from BMuuN/patch-1
Added simpler example
2 parents 3b39090 + f659ae1 commit 11f50a2

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/ResourceManager/Compute/Stack/Commands.Compute/help/Set-AzureRmVMBginfoExtension.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,15 @@ The **Set-AzureRmVMBGInfoExtension** cmdlet adds the BGInfo extension to a virtu
2323

2424
## EXAMPLES
2525

26-
### Example 1: Add the BGInfo extension for a virtual machine
26+
### Example 1: Add the BGInfo extension to a virtual machine
2727
```
28-
PS C:\> Set-AzureVMBGInfoExtension -ResrouceGroupName "ContosoRG" -VMName "ContosoVM" -Name "ExtensionName" -TypeHandlerVersion "2.1" -Location "West Europe"
28+
PS C:\> Set-AzureRmVMBgInfoExtension -ResourceGroupName "ContosoRG" -VMName "ContosoVM"
29+
```
30+
This command adds the BGInfo extension to a virtual machine named ContosoVM in the resource group ContosoRG.
31+
32+
### Example 2: Add a specific version of BGInfo extension to a virtual machine
33+
```
34+
PS C:\> Set-AzureRmVMBgInfoExtension -ResourceGroupName "ContosoRG" -VMName "ContosoVM" -Name "ExtensionName" -TypeHandlerVersion "2.1" -Location "West Europe"
2935
```
3036

3137
This command adds the BGInfo extension to virtual machine named ContosoVM.

0 commit comments

Comments
 (0)