Skip to content

Commit 737d77a

Browse files
committed
minor edits
1 parent 3f8a909 commit 737d77a

File tree

1 file changed

+24
-11
lines changed

1 file changed

+24
-11
lines changed

articles/automation/automation-hrw-run-runbooks.md

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,20 @@ Azure Automation handles jobs on Hybrid Runbook Workers differently from jobs ru
3333

3434
Jobs for Hybrid Runbook Workers run under the local **System** account.
3535

36-
>[!NOTE]
36+
> [!NOTE]
3737
>- PowerShell 5.1, PowerShell 7.1(preview), Python 2.7, and Python 3.8(preview) runbooks are supported on both extension-based and agent-based Windows Hybrid Runbook Workers. For agent based workers, ensure the Windows Hybrid worker version is 7.3.12960 or above.
3838
>- PowerShell 7.2 (preview) and Python 3.10 (preview) runbooks are supported on extension-based Windows Hybrid Workers only. Ensure the Windows Hybrid worker extension version is 1.1.11 or above.
3939
4040
#### [Extension-based Hybrid Workers](#tab/win-extn-hrw)
4141

42+
> [!NOTE]
43+
> To create environment variable in Windows systems, follow these steps:
44+
> 1. Go to **Control Panel** > **System** > **Advanced System Settings**.
45+
> 1. In **System Properties** select **Environment variables**.
46+
> 1. In **System variables**, select **New**.
47+
> 1. Provide **Variable name** and **Variable value**, and then select **OK**.
48+
> 1. Restart the VM or logout from the current user and login to implement the environment variable changes.
49+
4250
**PowerShell 7.2**
4351

4452
To run PowerShell 7.2 runbooks on a Windows Hybrid Worker, install *PowerShell* on the Hybrid Worker. See [Installing PowerShell on Windows](https://learn.microsoft.com/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.3).
@@ -71,6 +79,14 @@ If the *Python* executable file is at the default location *C:\Python27\python.e
7179

7280
#### [Agent-based Hybrid Workers](#tab/win-agt-hrw)
7381

82+
> [!NOTE]
83+
> To create environment variable in Windows systems, follow these steps:
84+
> 1. Go to **Control Panel** > **System** > **Advanced System Settings**.
85+
> 1. In **System Properties** select **Environment variables**.
86+
> 1. In **System variables**, select **New**.
87+
> 1. Provide **Variable name** and **Variable value**, and then select **OK**.
88+
> 1. Restart the VM or logout from the current user and login to implement the environment variable changes.
89+
7490
**PowerShell 7.1**
7591

7692
To run PowerShell 7.1 runbooks on a Windows Hybrid Worker, install *PowerShell* on the Hybrid Worker. See [Installing PowerShell on Windows](https://learn.microsoft.com/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.3).
@@ -90,23 +106,20 @@ To run Python 2.7 runbooks on a Windows Hybrid Worker, install Python on the Hyb
90106
If the *Python* executable file is at the default location *C:\Python27\python.exe*, then you do not have to create the environment variable.
91107

92108
---
93-
> [!NOTE]
94-
> To create environment variable in Windows systems, follow these steps:
95-
> 1. Go to **Control Panel** > **System** > **Advanced System Settings**.
96-
> 1. In **System Properties** select **Environment variables**.
97-
> 1. In **System variables**, select **New**.
98-
> 1. Provide **Variable name** and **Variable value**, and then select **OK**.
99-
> 1. Restart the VM or logout from the current user and login to implement the environment variable changes.
109+
100110
### Linux Hybrid Worker
101111

102-
>[!NOTE]
112+
> [!NOTE]
103113
>- PowerShell 5.1, PowerShell 7.1(preview), Python 2.7, Python 3.8 (preview) runbooks are supported on both extension-based and agent-based Linux Hybrid Runbook Workers. For agent-based workers, ensure the Linux Hybrid Runbook worker version is 1.7.5.0 or above.
104114
>- PowerShell 7.2 (preview) and Python 3.10 (preview) runbooks are supported on extension-based Linux Hybrid Workers only. Ensure the Linux Hybrid worker extension version is 1.1.11 or above.
105115
106116
#### [Extension-based Hybrid Workers](#tab/Lin-extn-hrw)
107117

108-
>[!NOTE]
109-
> Create environment variable in Linux systems: </br> 1. Open /etc/environment. </br> 2. Create a new Environment variable by adding VARIABLE_NAME="variable_value" in a new line in /etc/environment (VARIABLE_NAME is the name of the new Environment variable and variable_value represents the value it is to be assigned). </br> 3. Either restart the VM or logout from current user and login again after saving the changes to /etc/environment to ensure environment variable changes take place.
118+
> [!NOTE]
119+
> To create environment variable in Linux systems, follow these steps:
120+
> 1. Open /etc/environment.
121+
> 1. Create a new Environment variable by adding VARIABLE_NAME="variable_value" in a new line in /etc/environment (VARIABLE_NAME is the name of the new Environment variable and variable_value represents the value it is to be assigned).
122+
> 1. Restart the VM or logout from current user and login after saving the changes to /etc/environment to implement environment variable changes.
110123
111124
**PowerShell 7.2**
112125

0 commit comments

Comments
 (0)