Skip to content

Commit 24ff946

Browse files
Merge pull request #286442 from pratikjadhav13/patch-1
(AzureCXP) fixes MicrosoftDocs/azure-docs#308671
2 parents 0daf9c6 + 5011ad3 commit 24ff946

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/azure-arc/servers/manage-vm-extensions-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ For the `--extension-targets` parameter, you need to specify the extension and t
103103
To upgrade the Log Analytics agent extension for Windows that has a newer version available, run the following command:
104104

105105
```azurecli
106-
az connectedmachine upgrade-extension --machine-name "myMachineName" --resource-group "myResourceGroup" --extension-targets '{\"Microsoft.EnterpriseCloud.Monitoring.MicrosoftMonitoringAgent\":{\"targetVersion\":\"1.0.18053.0\"}}'
106+
az connectedmachine upgrade-extension --machine-name "myMachineName" --resource-group "myResourceGroup" --extension-targets '{"Microsoft.EnterpriseCloud.Monitoring.MicrosoftMonitoringAgent":{"targetVersion":"1.0.18053.0"}}'
107107
```
108108

109109
You can review the version of installed VM extensions at any time by running the command [az connectedmachine extension list](/cli/azure/connectedmachine/extension#az-connectedmachine-extension-list). The `typeHandlerVersion` property value represents the version of the extension.

0 commit comments

Comments
 (0)