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
 

Remove-AzureAutomationRunbook

Remove-AzureAutomationRunbook

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

Synopsis

Removes a runbook.

Syntax

Remove-AzureAutomationRunbook [-Name] [-Force] [-AutomationAccountName] [-WhatIf] [-Confirm] [<CommonParameters>]

Remove-AzureAutomationRunbook [-Id] [-Force] [-AutomationAccountName] [-WhatIf] [-Confirm] [<CommonParameters>]

Detailed Description

The Remove-AzureAutomationRunbook cmdlet removes a runbook from Microsoft Azure Automation.

Parameters

-Name <String>

Specifies the name of a runbook.

Aliases

None

Required?

true

Position

named

Default value

none

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Force <SwitchParameter>

Forces the command to run without asking for user confirmation.

Aliases

None

Required?

false

Position

named

Default value

none

Accept pipeline input?

false

Accept wildcard characters?

false

-AutomationAccountName <String>

Specifies the name of an Azure Automation account.

Aliases

None

Required?

true

Position

0

Default value

none

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-WhatIf <SwitchParameter>

Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.

Aliases

None

Required?

false

Position

named

Default value

false

Accept pipeline input?

false

Accept wildcard characters?

false

-Confirm <SwitchParameter>

Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.

Aliases

None

Required?

false

Position

named

Default value

false

Accept pipeline input?

false

Accept wildcard characters?

false

-Id <Nullable`1[Guid]>

Specifies the ID of a runbook.

Aliases

None

Required?

true

Position

named

Default value

none

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

-------------------------- Example 1: Remove a runbook --------------------------

This command removes the runbook named MyRunbook in the Azure Automation account named Contoso17.

PS C:\>Remove-AzureAutomationRunbook -AutomationAccountName "Contoso17" -Name "MyRunbook"

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