Skip to content

Commit ab70137

Browse files
authored
Merge pull request #4308 from mdshihab/patch-1
Updating a part of the cmdlet in Example 2
2 parents 758dc62 + c1fc838 commit ab70137

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ResourceManager/Compute/Commands.Compute/help/Add-AzureRmVMNetworkInterface.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ The second command adds a network interface to the virtual machine stored in $Vi
4545
```
4646
PS C:\> $VirtualMachine = Get-AzureRmVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07"
4747
PS C:\> Add-AzureRmVMNetworkInterface -VM $VirtualMachine -Id "/subscriptions/46fc8ea4-2de6-4179-8ab1-365da4121af4/resourceGroups/contoso/providers/Microsoft.Network/networkInterfaces/sshNIC"
48-
PS C:\> Update-AzureRmVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" -VM $VirtualMachine
48+
PS C:\> Update-AzureRmVM -ResourceGroupName "ResourceGroup11" -VM $VirtualMachine
4949
```
5050

5151
The first command gets the virtual machine named VirtualMachine07 by using the **Get-AzureRmVM** cmdlet.

0 commit comments

Comments
 (0)