Skip to content

Commit 0b2fc0b

Browse files
Merge pull request #286987 from blakedrumm/patch-2
Fix code block
2 parents 88026dd + bd00465 commit 0b2fc0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/automation/automation-hybrid-runbook-worker.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,9 @@ After the Update Management feature is enabled on Windows or Linux machines, you
166166
If you have more than 2,000 hybrid workers, to get a list of all of them, you can run the following PowerShell script:
167167

168168
```powershell
169-
"Get-AzSubscription -SubscriptionName "<subscriptionName>" | Set-AzContext
169+
Get-AzSubscription -SubscriptionName "<subscriptionName>" | Set-AzContext
170170
$workersList = (Get-AzAutomationHybridWorkerGroup -ResourceGroupName "<resourceGroupName>" -AutomationAccountName "<automationAccountName>").Runbookworker
171-
$workersList | export-csv -Path "<Path>\output.csv" -NoClobber -NoTypeInformation"
171+
$workersList | export-csv -Path "<Path>\output.csv" -NoClobber -NoTypeInformation
172172
```
173173

174174
## Next steps

0 commit comments

Comments
 (0)