File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
articles/azure-monitor/agents Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -150,12 +150,12 @@ Set-AzVMExtension -ExtensionName AzureMonitorWindowsAgent -ExtensionType AzureMo
150
150
Set-AzVMExtension -ExtensionName AzureMonitorLinuxAgent -ExtensionType AzureMonitorLinuxAgent -Publisher Microsoft.Azure.Monitor -ResourceGroupName <resource-group-name> -VMName <virtual-machine-name> -Location <location> -TypeHandlerVersion 1.5 -Setting <settingString> -ProtectedSetting <protectedSettingString>
151
151
```
152
152
153
- # [ Windows Arc enabled server] ( #tab/PowerShellWindows )
153
+ # [ Windows Arc enabled server] ( #tab/PowerShellWindowsArc )
154
154
``` powershell
155
155
New-AzConnectedMachineExtension -Name AzureMonitorWindowsAgent -ExtensionType AzureMonitorWindowsAgent -Publisher Microsoft.Azure.Monitor -ResourceGroupName <resource-group-name> -MachineName <arc-server-name> -Location <arc-server-location> -Setting <settingString> -ProtectedSetting <protectedSettingString>
156
156
```
157
157
158
- # [ Linux Arc enabled server] ( #tab/PowerShellLinux )
158
+ # [ Linux Arc enabled server] ( #tab/PowerShellLinuxArc )
159
159
``` powershell
160
160
New-AzConnectedMachineExtension -Name AzureMonitorLinuxAgent -ExtensionType AzureMonitorLinuxAgent -Publisher Microsoft.Azure.Monitor -ResourceGroupName <resource-group-name> -MachineName <arc-server-name> -Location <arc-server-location> -Setting <settingString> -ProtectedSetting <protectedSettingString>
161
161
```
You can’t perform that action at this time.
0 commit comments