Get-​Azure​Rm​Automation​Webhook

Gets webhooks from Automation.

Syntax

Get-AzureRmAutomationWebhook
   [-ResourceGroupName] <String>
   [-AutomationAccountName] <String>
   -Name <String>
   [<CommonParameters>]
Get-AzureRmAutomationWebhook
   [-ResourceGroupName] <String>
   [-AutomationAccountName] <String>
   -RunbookName <String>
   [<CommonParameters>]

Description

The Get-AzureRmAutomationWebhook cmdlet gets webhooks. To get specific webhooks, specify a webhook name or specify the name of an Azure Automation runbook to get the webhooks connected to it.

Examples

Example 1: Get all webhooks for a runbook

PS C:\>Get-AzureRmAutomationWebhook -RunbookName "Runbook03" -ResourceGroup "ResourceGroup01" -AutomationAccountName "AutomationAccount01"

This command gets all webhooks for a runbook named Runbook03 in the Automation account named AutomationAccount01 in the resource group named ResourceGroup01.

Required Parameters

-AutomationAccountName

Specifies the name of an Automation account in which this cmdlet gets a webhook.

Type:String
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Name

Specifies the name of the webhook that this cmdlet gets.

Type:String
Aliases:WebhookName
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ResourceGroupName

Specifies the name of the resource group for which this cmdlet gets webhooks.

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-RunbookName

Specifies the name of a runbook for which this cmdlet gets webhooks.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False