Remove-​Azure​Rm​Automation​Certificate

Removes an Automation certificate.

Syntax

Remove-AzureRmAutomationCertificate
      [-ResourceGroupName] <String>
      [-AutomationAccountName] <String>
      [-Name] <String>
      [-Confirm]
      [-WhatIf]
      [<CommonParameters>]

Description

The Remove-AzureRmAutomationCertificate cmdlet removes a certificate from Azure Automation.

Examples

Example 1: Remove a certificate

PS C:\>Remove-AzureRmAutomationCertificate -AutomationAccountName "Contoso17" -Name "Cert01" -ResourceGroupName "ResourceGroup01"

This command removes a certificate named Cert01 in the Automation account named Contoso17.

Required Parameters

-AutomationAccountName

Specifies the name of the Automation account for which this cmdlet removes a certificate.

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

Specifies the name of the certificate that this cmdlet removes.

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

Specifies the name of the resource group for which this cmdlet removes a certificate.

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

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False