Skip to content

Commit 6e0eed3

Browse files
Merge pull request #41467 from Kenneth-Abrams/master
Updating invalid az command
2 parents 39b7134 + 957b5d2 commit 6e0eed3

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-
azure vm set -g TestRG -n DNS01 -N TestNIC2
250+
az vm nic set --resource-group TestRG --vm-name DNS01 --nics TestNIC2
251251
```
252252
253253
Expected output:

0 commit comments

Comments
 (0)