File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/ResourceManager/Compute/Stack/Commands.Compute/help Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ The second command adds a network interface to the virtual machine stored in $Vi
45
45
```
46
46
PS C:\> $VirtualMachine = Get-AzureRmVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07"
47
47
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
49
49
```
50
50
51
51
The first command gets the virtual machine named VirtualMachine07 by using the ** Get-AzureRmVM** cmdlet.
You can’t perform that action at this time.
0 commit comments