Skip to content

Commit f659ae1

Browse files
authored
Added simpler example
- Added simpler example (Example 1) - Corrected the command used in Example 2.
1 parent 3b39090 commit f659ae1

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)