Skip to content

Commit f4e7e60

Browse files
author
maddieclayton
authored
Merge pull request #5258 from cregnier/patch-1
Update Add-AzureRmVMNetworkInterface.md
2 parents 2b10d58 + 8bf2a83 commit f4e7e60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ResourceManager/Compute/Stack/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)