Skip to content

Commit 4cbd1b9

Browse files
Merge pull request #235945 from msaenzbosupport/patch-15
[Doc-A-Thon]Updating the codeblock
2 parents 04d7a9b + e5a58fe commit 4cbd1b9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,7 @@ To install and use Hybrid Worker extension using REST API, follow these steps. T
792792
793793
#### [Azure CLI](#tab/cli)
794794
795-
You can use Azure CLI to create a new Hybrid Worker group, create a new Azure VM, add it to an existing Hybrid Worker Group and install the Hybrid Worker extension. Learn more about [Azure CLI](https://learn.microsoft.com/cli/azure/what-is-azure-cli).
795+
You can use Azure CLI to create a new Hybrid Worker group, create a new Azure VM, add it to an existing Hybrid Worker Group and install the Hybrid Worker extension. Learn more about [Azure CLI](/cli/azure/what-is-azure-cli).
796796
797797
Follow the steps mentioned below as an example:
798798
@@ -816,10 +816,10 @@ Follow the steps mentioned below as an example:
816816

817817
**Manage Hybrid Worker Extension**
818818

819-
- To create, delete, and manage extension-based Hybrid Runbook Worker groups, see [az automation hrwg | Microsoft Docs](/cli/azure/automation/hrwg?view=azure-cli-latest)
820-
- To create, delete, and manage extension-based Hybrid Runbook Worker, see [az automation hrwg hrw | Microsoft Docs](/cli/azure/automation/hrwg/hrw?view=azure-cli-latest)
819+
- To create, delete, and manage extension-based Hybrid Runbook Worker groups, see [az automation hrwg | Microsoft Docs](/cli/azure/automation/hrwg?view=azure-cli-latest&preserve-view=true)
820+
- To create, delete, and manage extension-based Hybrid Runbook Worker, see [az automation hrwg hrw | Microsoft Docs](/cli/azure/automation/hrwg/hrw?view=azure-cli-latest&preserve-view=true)
821821

822-
After creating new Hybrid Runbook Worker, you must install the extension on the Hybrid Worker using [az vm extension set](/cli/azure/vm/extension?view=azure-cli-latest#az-vm-extension-set).
822+
After creating new Hybrid Runbook Worker, you must install the extension on the Hybrid Worker using [az vm extension set](/cli/azure/vm/extension?view=azure-cli-latest#az-vm-extension-set&preserve-view=true).
823823

824824

825825
#### [PowerShell](#tab/ps)
@@ -913,11 +913,11 @@ New-AzConnectedMachineExtension -ResourceGroupName <VMResourceGroupName> -Locati
913913

914914
Run the following commands on agent-based Linux Hybrid Worker:
915915

916-
1. ```python
916+
1. ```bash
917917
sudo bash
918918
```
919919

920-
1. ```python
920+
1. ```bash
921921
rm -r /home/nxautomation
922922
```
923923
1. Under **Process Automation**, select **Hybrid worker groups** and then your hybrid worker group to go to the **Hybrid Worker Group** page.

0 commit comments

Comments
 (0)