< Back
Remove-AzureRmIotHubCertificate
Post
NAME Remove-AzureRmIotHubCertificate
SYNOPSIS
Deletes an Azure IoT Hub certificate.
SYNTAX
Remove-AzureRmIotHubCertificate [-ResourceGroupName] <String> [-CertificateName] <String> [-Name] <String> [-Etag] <String> [-DefaultProfile
<IAzureContextContainer>] [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>]
Remove-AzureRmIotHubCertificate [-ResourceId] <String> [-Etag] <String> [-DefaultProfile <IAzureContextContainer>] [-PassThru] [-Confirm]
[-WhatIf] [<CommonParameters>]
Remove-AzureRmIotHubCertificate [-InputObject] <PSCertificateDescription> [-DefaultProfile <IAzureContextContainer>] [-PassThru] [-Confirm]
[-WhatIf] [<CommonParameters>]
DESCRIPTION
For a detailed explanation of CA certificates in Azure IoT Hub, see https://docs.microsoft.com/en-us/azure/ ... a-overview
PARAMETERS
-CertificateName <String>
Name of the Certificate
Required? true
Position? 1
Default value None
Accept pipeline input? False
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
-Etag <String>
Etag of the Certificate
Required? true
Position? 2
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InputObject <PSCertificateDescription>
Certificate Object
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-Name <String>
Name of the Iot Hub
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-PassThru [<SwitchParameter>]
{{Fill PassThru Description}}
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-ResourceGroupName <String>
Name of the Resource Group
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ResourceId <String>
Certificate Resource Id
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value False
Accept pipeline input? False
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
System.String
OUTPUTS
System.Boolean
NOTES
Example 1
PS C:\\> Remove-AzureRmIotHubCertificate -ResourceGroupName "myresourcegroup" -Name "myiothub" -CertificateName "mycertificate" -Etag "AAAAAAFPazE="
Deletes MyCertificate
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... ertificate
SYNOPSIS
Deletes an Azure IoT Hub certificate.
SYNTAX
Remove-AzureRmIotHubCertificate [-ResourceGroupName] <String> [-CertificateName] <String> [-Name] <String> [-Etag] <String> [-DefaultProfile
<IAzureContextContainer>] [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>]
Remove-AzureRmIotHubCertificate [-ResourceId] <String> [-Etag] <String> [-DefaultProfile <IAzureContextContainer>] [-PassThru] [-Confirm]
[-WhatIf] [<CommonParameters>]
Remove-AzureRmIotHubCertificate [-InputObject] <PSCertificateDescription> [-DefaultProfile <IAzureContextContainer>] [-PassThru] [-Confirm]
[-WhatIf] [<CommonParameters>]
DESCRIPTION
For a detailed explanation of CA certificates in Azure IoT Hub, see https://docs.microsoft.com/en-us/azure/ ... a-overview
PARAMETERS
-CertificateName <String>
Name of the Certificate
Required? true
Position? 1
Default value None
Accept pipeline input? False
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
-Etag <String>
Etag of the Certificate
Required? true
Position? 2
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InputObject <PSCertificateDescription>
Certificate Object
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-Name <String>
Name of the Iot Hub
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-PassThru [<SwitchParameter>]
{{Fill PassThru Description}}
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-ResourceGroupName <String>
Name of the Resource Group
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ResourceId <String>
Certificate Resource Id
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value False
Accept pipeline input? False
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
System.String
OUTPUTS
System.Boolean
NOTES
Example 1
PS C:\\> Remove-AzureRmIotHubCertificate -ResourceGroupName "myresourcegroup" -Name "myiothub" -CertificateName "mycertificate" -Etag "AAAAAAFPazE="
Deletes MyCertificate
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... ertificate