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

Remove-AzureCertificate

microsoft.windowsazure.commands.servicemanagement.dll

Synopsis

Deletes the specified certificate from the Microsoft Azure service.

Syntax

Remove-AzureCertificate [-ServiceName] [-ThumbprintAlgorithm] [-Thumbprint] [<CommonParameters>]

Detailed Description

Parameters

-ServiceName <String>

Specifies the Microsoft Azure service with which the certificate is associated.

Aliases

None

Required?

true

Position

0

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-ThumbprintAlgorithm <String>

Specifies the algorithm used to create the certificate thumbprint.

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Thumbprint <String>

Specifies the thumbprint that identifies the certificate.

Aliases

None

Required?

true

Position

2

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

Input Type


Return Type

ManagementOperationContext

Notes

Examples

-------------------------- Example 1 --------------------------

This command removes the certificate object identified by the specified thumbprint from the specified cloud service.

PS C:\> C:\PS>Remove-AzureCertificate -ServiceName "MyService" -Thumbprint '5383CE0343CB6563281CA97C1B5D712209CFFA97'

-------------------------- Example 2 --------------------------

This command removes all certificates from the specified cloud service.

PS C:\> C:\PS>Get-Certificate -ServiceName "MyService" | Remove-AzureCertificate

-------------------------- Example 3 --------------------------

This command removes all certificates that use the "sha1" thumbprint algorithm from the specified cloud service.

PS C:\> C:\PS>Get-Certificate –ServiceName "MyService" -ThumbprintAlgorithm "sha1" `
          | Remove-AzureCertificate

Add-AzureCertificate
Get-AzureCertificate