< Back

Get-AzureRMAutomationHybridWorkerGroup

Tue Jan 29, 2019 9:32 pm

NAME Get-AzureRMAutomationHybridWorkerGroup



SYNOPSIS

Gets hybrid runbook worker groups.





SYNTAX

Get-AzureRMAutomationHybridWorkerGroup [-ResourceGroupName] <String> [-AutomationAccountName] <String> [[-Name] <String>] [-DefaultProfile

<IAzureContextContainer>] [<CommonParameters>]





DESCRIPTION

The Get-AzureRmAutomationHybridWorkerGroup cmdlet gets Azure Automation hybrid runbook worker groups. To get a specific group, specify its name.





PARAMETERS

-AutomationAccountName <String>

Specifies the name of an Automation account.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

Specifies the hybrid runbook worker group name.



Required? false

Position? 2

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-ResourceGroupName <String>

Specifies the name of the resource group.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

String

Parameter 'Name' accepts value of type 'String' from the pipeline





OUTPUTS

Microsoft.Azure.Commands.Automation.Model.HybridRunbookWorker







NOTES









Example 1: Get all hybrid runbook worker groups



PS C:\\>Get-AzureRMAutomationHybridWorkerGroup -ResourceGroupName "ResourceGroupName01" -AutomationAccountName "Contoso17"



This command gets all hybrid runbook worker groups in the Automation account named Contoso17.





Example 2: Get a single hybrid runbook worker group



PS C:\\>Get-AzureRMAutomationHybridWorkerGroup -ResourceGroupName "ResourceGroupName01" -AutomationAccountName "Contoso17" -Name

"HybridRunbookWorkerGroup01"



This command gets the hybrid runbook worker group named HybridRunbookWorkerGroup01 in the Automation account named Contoso17.





Example 3: Get the workers in a hybrid runbook worker group



PS C:\\>(Get-AzureRMAutomationHybridWorker -ResourceGroupName ResourceGroupName01 -AutomationAccountName Contoso17 -Name

"HybridRunbookWorkerGroup01" ).RunbookWorker



This command gets the hybrid runbook workers in the hybrid runbook worker group named HybridRunbookWorkerGroup01 in the Automation account named

Contoso17.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... orkergroup