Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Publish-AzureAutomationRunbook

Publish-AzureAutomationRunbook

microsoft.windowsazure.commands.dll, microsoft.azure.commands.resourcemanager.automation.dll, microsoft.azure.commands.automation.dll

Synopsis

Publishes a runbook.

Syntax

Publish-AzureAutomationRunbook [-AutomationAccountName] [-Name] [<CommonParameters>]

Publish-AzureAutomationRunbook [-AutomationAccountName] [-Id] [<CommonParameters>]

Detailed Description

The Publish-AzureAutomationRunbook cmdlet publishes a runbook for use in the production environment of Microsoft Azure Automation.

Parameters

-AutomationAccountName <String>

Specifies the name of an Azure Automation account.

Aliases

none

Required?

true

Position

1

Default value

none

Accept pipeline input?

true(ByPropertyName)

Accept wildcard characters?

false

-Id <Guid>

Specifies the ID of a runbook.

Aliases

RunbookId

Required?

true

Position

named

Default value

none

Accept pipeline input?

true(ByPropertyName)

Accept wildcard characters?

false

-Name <String>

Specifies the name of a runbook.

Aliases

RunbookName

Required?

true

Position

named

Default value

none

Accept pipeline input?

true(ByPropertyName)

Accept wildcard characters?

false

Input Type


Return Type


Notes

None

Examples

Example 1: Publish a runbook

This command publishes the runbook named Runbk01 in the Azure Automation account named Contoso17.

PS C:\>Publish-AzureAutomationRunbook -AutomationAccountName "Contoso17" -Name "Runbk01" 

Online Version
Get-AzureAutomationRunbook
New-AzureAutomationRunbook
Remove-AzureAutomationRunbook
Set-AzureAutomationRunbook
Start-AzureAutomationRunbook