Skip to content

Commit 3e5e440

Browse files
committed
Minor edits and fixes
1 parent f3aea84 commit 3e5e440

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/azure-arc/servers/run-command.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ Connected Machine agent version must be 1.33 or higher.
2727

2828
Listing the run commands or showing details of a command requires the `Microsoft.HybridCompute/machines/runCommands/read` permission. The built-in [Reader](/azure/role-based-access-control/built-in-roles) role and higher levels have this permission.
2929

30-
Running a command requires the `Microsoft.HybridCompute/machines/runCommands/write` permission. The Azure Connected Machine Resource Administrator role and higher levels have this permission.
30+
Running a command requires the `Microsoft.HybridCompute/machines/runCommands/write` permission. The [Azure Connected Machine Resource Administrator](/azure/role-based-access-control/built-in-roles) role and higher levels have this permission.
3131

3232
You can use one of the [built-in roles](/azure/role-based-access-control/built-in-roles) or create a [custom role](/azure/role-based-access-control/custom-roles) to use Run Command.
3333

3434
## Blocking run commands locally
3535

36-
The Connected Machine agent supports local configurations that allow you to set an allowlist or a blocklist. See [Extension allowlists and blocklists](security-overview.md#extension-allowlists-and-blocklists) https://learn.microsoft.com/en-us/azure/azure-arc/servers/security-overview#extension-allowlists-and-blocklists to learn more.
36+
The Connected Machine agent supports local configurations that allow you to set an allowlist or a blocklist. See [Extension allowlists and blocklists](security-overview.md#extension-allowlists-and-blocklists) to learn more.
3737

3838
For Windows:
3939

@@ -46,7 +46,7 @@ For Linux:
4646

4747
## Azure CLI
4848

49-
The following examples use [az connectedmachine run-command](/cli/azure/connectedmachine/run-command?view=azure-cli-latest) to run a shell script on an Azure Windows machine.
49+
The following examples use [az connectedmachine run-command](/cli/azure/connectedmachine/run-command) to run a shell script on an Azure Windows machine.
5050

5151
### Execute a script with the machine
5252

@@ -86,7 +86,7 @@ az connectedmachine run-command delete --name "myRunCommand" --machine-name "myM
8686

8787
## PowerShell
8888

89-
### Execute a script with the machine.
89+
### Execute a script with the machine
9090

9191
```powershell
9292
New-AzConnectedMachineRunCommand -ResourceGroupName "myRG" -MachineName "myMachine" -Location "EastUS" -RunCommandName "RunCommandName" –SourceScript "echo Hello World!"

0 commit comments

Comments
 (0)