Skip to content

Commit 45dc18e

Browse files
Updating invalid az command
az command for updating changing VM nic was invalid.
1 parent 8efb724 commit 45dc18e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/virtual-network/virtual-networks-static-private-ip-arm-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ To change the NIC for the VM used in the previous commands, complete the followi
247247
2. Run the **azure vm set** command to change the NIC used by the VM.
248248
249249
```azurecli
250-
az vm set -g TestRG -n DNS01 -N TestNIC2
250+
az vm nic set --resource-group RG1 --vm-name VM01 --nics VM01-NIC-1
251251
```
252252
253253
Expected output:

0 commit comments

Comments
 (0)