Skip to content

Commit c17ef45

Browse files
committed
feedback incorporated
1 parent 1bdcbd0 commit c17ef45

File tree

3 files changed

+10
-38
lines changed

3 files changed

+10
-38
lines changed

articles/automation/automation-linux-hrw-install.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -220,19 +220,6 @@ sudo python /opt/microsoft/omsconfig/modules/nxOMSAutomationWorker/DSCResources/
220220

221221
## <a name="remove-linux-hybrid-runbook-worker"></a>Remove the Hybrid Runbook Worker
222222

223-
#### [Windows Hybrid Worker](#tab/win-hrw)
224-
225-
Open PowerShell session in Administrator mode and run the following command:
226-
227-
```powershell-interactive
228-
Remove-Item -Path "HKLM:\SOFTWARE\Microsoft\HybridRunbookWorker\<AutomationAccountID>\<HybridWorkerGroupName>" -Force -Verbose
229-
```
230-
> [!NOTE]
231-
> - After you disable the Private Link in your Automation account, it might take up to 60 minutes to remove the Hybrid Runbook worker.
232-
> - After you remove the Hybrid Worker, the Hybrid Worker authentication certificate on the machine is valid for 45 minutes.
233-
234-
#### [Linux Hybrid Worker](#tab/lin-hrw)
235-
236223
Run the following commands on agent-based Linux Hybrid Worker:
237224

238225
1. ```python
@@ -249,11 +236,10 @@ Run the following commands on agent-based Linux Hybrid Worker:
249236

250237

251238
> [!NOTE]
252-
> - This script doesn't remove the Log Analytics agent for Linux from the machine. It only removes the functionality and configuration of the Hybrid Runbook Worker role. </br>
239+
> - This script doesn't remove the Log Analytics agent for Linux from the machine. It only removes the functionality and configuration of the Hybrid Runbook Worker role.
253240
> - After you disable the Private Link in your Automation account, it might take up to 60 minutes to remove the Hybrid Runbook worker.
254241
> - After you remove the Hybrid Worker, the Hybrid Worker authentication certificate on the machine is valid for 45 minutes.
255242
256-
---
257243

258244
## Remove a Hybrid Worker group
259245

articles/automation/automation-windows-hrw-install.md

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -246,40 +246,20 @@ Modules that are installed must be in a location referenced by the `PSModulePath
246246
247247
## <a name="remove-windows-hybrid-runbook-worker"></a>Remove the Hybrid Runbook Worker
248248
249-
#### [Windows Hybrid Worker](#tab/win-hrw)
250-
251-
Open PowerShell session in Administrator mode and run the following command:
249+
1. Open PowerShell session in Administrator mode and run the following command:
252250
253251
```powershell-interactive
254252
Remove-Item -Path "HKLM:\SOFTWARE\Microsoft\HybridRunbookWorker\<AutomationAccountID>\<HybridWorkerGroupName>" -Force -Verbose
255253
```
256-
> [!NOTE]
257-
> - After you disable the Private Link in your Automation account, it might take up to 60 minutes to remove the Hybrid Runbook worker.
258-
> - After you remove the Hybrid Worker, the Hybrid Worker authentication certificate on the machine is valid for 45 minutes.
259-
260-
#### [Linux Hybrid Worker](#tab/lin-hrw)
261-
262-
Run the following commands on agent-based Linux Hybrid Worker:
263-
264-
1. ```python
265-
sudo bash
266-
```
267-
268-
1. ```python
269-
rm -r /home/nxautomation
270-
```
271254
1. Under **Process Automation**, select **Hybrid worker groups** and then your hybrid worker group to go to the **Hybrid Worker Group** page.
272255
1. Under **Hybrid worker group**, select **Hybrid Workers**.
273256
1. Select the checkbox next to the machine(s) you want to delete from the hybrid worker group.
274-
1. Select **Delete** to remove the agent-based Linux Hybrid Worker.
275-
257+
1. Select **Delete** to remove the agent-based Windows Hybrid Worker.
276258

277259
> [!NOTE]
278-
> - This script doesn't remove the Log Analytics agent for Linux from the machine. It only removes the functionality and configuration of the Hybrid Runbook Worker role. </br>
279260
> - After you disable the Private Link in your Automation account, it might take up to 60 minutes to remove the Hybrid Runbook worker.
280261
> - After you remove the Hybrid Worker, the Hybrid Worker authentication certificate on the machine is valid for 45 minutes.
281262
282-
---
283263

284264
## Remove a Hybrid Worker group
285265

articles/automation/migrate-existing-agent-based-hybrid-worker-to-extension-based-workers.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,11 +812,17 @@ New-AzConnectedMachineExtension -ResourceGroupName <VMResourceGroupName> -Locati
812812

813813
#### [Windows Hybrid Worker](#tab/win-hrw)
814814

815-
Open PowerShell session in Administrator mode and run the following command:
815+
1. Open PowerShell session in Administrator mode and run the following command:
816816

817817
```powershell-interactive
818818
Remove-Item -Path "HKLM:\SOFTWARE\Microsoft\HybridRunbookWorker\<AutomationAccountID>\<HybridWorkerGroupName>" -Force -Verbose
819819
```
820+
821+
1. Under **Process Automation**, select **Hybrid worker groups** and then your hybrid worker group to go to the **Hybrid Worker Group** page.
822+
1. Under **Hybrid worker group**, select **Hybrid Workers**.
823+
1. Select the checkbox next to the machine(s) you want to delete from the hybrid worker group.
824+
1. Select **Delete** to remove the agent-based Windows Hybrid Worker.
825+
820826
> [!NOTE]
821827
> - After you disable the Private Link in your Automation account, it might take up to 60 minutes to remove the Hybrid Runbook worker.
822828
> - After you remove the Hybrid Worker, the Hybrid Worker authentication certificate on the machine is valid for 45 minutes.

0 commit comments

Comments
 (0)