Redigera

Dela via


Get-AzAutomationHybridRunbookWorker

Gets a Hybrid Runbook Worker.

Syntax

Get-AzAutomationHybridRunbookWorker
   [-HybridRunbookWorkerGroupName] <String>
   [-ResourceGroupName] <String>
   [-AutomationAccountName] <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzAutomationHybridRunbookWorker
   [-Name] <String>
   [-HybridRunbookWorkerGroupName] <String>
   [-ResourceGroupName] <String>
   [-AutomationAccountName] <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Get-AzAutomationHybridRunbookWorker cmdlet gets a Hybrid Runbook Worker.

Examples

Example 1

Get-AzAutomationHybridRunbookWorker -AutomationAccountName "Contoso17" -Name "RunbookWorkerName" -ResourceGroupName "ResourceGroup01"

Parameters

-AutomationAccountName

The automation account name.

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-HybridRunbookWorkerGroupName

The Hybrid Runbook Worker Group name

Type:String
Aliases:WorkerGroup, RunbookWorkerGroup
Position:3
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Name

The Hybrid Runbook Worker name

Type:String
Aliases:RunbookWorker, RunbookWorkerId
Position:2
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-ResourceGroupName

The resource group name.

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String

Outputs

HybridRunbookWorker