We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 476f6df commit 84c330aCopy full SHA for 84c330a
articles/virtual-machines/extensions/diagnostics-linux.md
@@ -137,7 +137,7 @@ The **recommendation** is to enable automatic update of the agent by enabling th
137
138
# [Azure CLI](#tab/azcli)
139
140
-```powershell
+```azurecli
141
az vm extension set --publisher Microsoft.Azure.Diagnostics --name LinuxDiagnostic --version 4.0 --resource-group <resource_group_name> --vm-name <vm_name> --protected-settings ProtectedSettings.json --settings PublicSettings.json --enable-auto-upgrade true
142
```
143
0 commit comments