< Back

Get-AzureRmAutomationWebhook

Tue Jan 29, 2019 9:32 pm

NAME Get-AzureRmAutomationWebhook



SYNOPSIS

Gets webhooks from Automation.





SYNTAX

Get-AzureRmAutomationWebhook [-ResourceGroupName] <String> [-AutomationAccountName] <String> [-DefaultProfile <IAzureContextContainer>] -Name

<String> [<CommonParameters>]



Get-AzureRmAutomationWebhook [-ResourceGroupName] <String> [-AutomationAccountName] <String> [-DefaultProfile <IAzureContextContainer>]

-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.





PARAMETERS

-AutomationAccountName <String>

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



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 name of the webhook that this cmdlet gets.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>

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



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-RunbookName <String>

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



Required? true

Position? named

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

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.Commands.Automation.Model.Webhook







NOTES









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.







RELATED LINKS

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

New-AzureRmAutomationWebhook

Remove-AzureRmAutomationWebhook

Set-AzureRmAutomationWebhook