File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ If you use a proxy server for communication between Azure Automation and machine
89
89
90
90
``` azurepowershell-interactive
91
91
$settings = @{
92
- "AutomationAccountURL" = "<registrationurl>/<subscription-id> ";
92
+ "AutomationAccountURL" = "<registrationurl>";
93
93
"ProxySettings" = @{
94
94
"ProxyServer" = "<ipaddress>:<port>";
95
95
"UserName"="test";
@@ -118,19 +118,19 @@ $protectedsettings = @{
118
118
"Proxy_URL"="http://username:password@<IP Address>"
119
119
};
120
120
$settings = @{
121
- "AutomationAccountURL" = "<registration-url>/<subscription-id> ";
121
+ "AutomationAccountURL" = "<registration-url>";
122
122
};
123
123
```
124
124
** Azure VMs**
125
125
126
126
``` powershell
127
- Set-AzVMExtension -ResourceGroupName <VMResourceGroupName> -Location <VMLocation> -VMName <VMName> -Name "HybridWorkerExtension" -Publisher "Microsoft.Azure.Automation.HybridWorker" -ExtensionType HybridWorkerForLinux - TypeHandlerVersion 0 .1 -Settings $settings
127
+ Set-AzVMExtension -ResourceGroupName <VMResourceGroupName> -Location <VMLocation> -VMName <VMName> -Name "HybridWorkerExtension" -Publisher "Microsoft.Azure.Automation.HybridWorker" -ExtensionType HybridWorkerForLinux TypeHandlerVersion 1 .1 -Settings $settings -EnableAutomaticUpgrade $true
128
128
```
129
129
130
130
** Azure Arc-enabled VMs**
131
131
132
132
``` powershell
133
- New-AzConnectedMachineExtension -ResourceGroupName <VMResourceGroupName> -Location <VMLocation> -MachineName <VMName> -Name "HybridWorkerExtension" -Publisher "Microsoft.Azure.Automation.HybridWorker" -ExtensionType HybridWorkerForLinux -TypeHandlerVersion 0 .1 -Setting $settings -NoWait
133
+ New-AzConnectedMachineExtension -ResourceGroupName <VMResourceGroupName> -Location <VMLocation> -MachineName <VMName> -Name "HybridWorkerExtension" -Publisher "Microsoft.Azure.Automation.HybridWorker" -ExtensionType HybridWorkerForLinux -TypeHandlerVersion 1 .1 -Setting $settings -EnableAutomaticUpgrade $true
134
134
```
135
135
136
136
---
You can’t perform that action at this time.
0 commit comments