< Back
Remove-AzureRmVpnClientRevokedCertificate
Post
NAME Remove-AzureRmVpnClientRevokedCertificate
SYNOPSIS
Removes a VPN client-revocation certificate.
SYNTAX
Remove-AzureRmVpnClientRevokedCertificate [-DefaultProfile <IAzureContextContainer>] -ResourceGroupName <String> -Thumbprint <String>
-VirtualNetworkGatewayName <String> -VpnClientRevokedCertificateName <String> [<CommonParameters>]
DESCRIPTION
The Remove-AzureRmVpnClientRevokedCertificate cmdlet removes a client-revocation certificate from a virtual network gateway. Client-revocation
certificates prevent client computers from using the specified certificate for authentication. If you remove a client-revocation certificate
client computers can then use the previously-banned certificate to make a virtual private network (VPN) connection.
PARAMETERS
-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
-ResourceGroupName <String>
Specifies the name of the resource group that the virtual network gateway is assigned to.
Resource groups categorize items to help simplify inventory management and general Azure administration.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Thumbprint <String>
Specifies the unique identifier of the certificate being removed.
You can return thumbprint information for your certificates by using a Windows PowerShell command similar to this:
`Get-ChildItem -Path "Cert:\\LocalMachine\\Root"`
The preceding command returns information for all the Local Computer certificates found in the Root certificate store.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-VirtualNetworkGatewayName <String>
Specifies the name of the virtual network gateway that the certificate is assigned to.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-VpnClientRevokedCertificateName <String>
Specifies the name of the VPN client certificate being removed.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
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
None
This cmdlet does not accept any input.
OUTPUTS
NOTES
Example 1: Remove a client-revocation certificate from a virtual network gateway
PS C:\\>Remove-AzureRmVpnClientRevokedCertificate -VirtualNetworkGatewayName "ContosoVirtualNetwork" -ResourceGroupName"ContosoResourceGroup"
-VpnClientRevokedCertificateName "ContosoRevokedClientCertificate"-Thumbprint "E3A38EBA60CAA1C162785A2E1C44A15AD450199C3"
This command removes a client-revocation certificate from a virtual network gateway named ContosoVirtualNetwork. In order to remove a
client-revocation certificate, you must specify both the certificate name and the certificate thumbprint.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... ertificate
Add-AzureRmVpnClientRevokedCertificate
Get-AzureRmVpnClientRevokedCertificate
New-AzureRmVpnClientRevokedCertificate
SYNOPSIS
Removes a VPN client-revocation certificate.
SYNTAX
Remove-AzureRmVpnClientRevokedCertificate [-DefaultProfile <IAzureContextContainer>] -ResourceGroupName <String> -Thumbprint <String>
-VirtualNetworkGatewayName <String> -VpnClientRevokedCertificateName <String> [<CommonParameters>]
DESCRIPTION
The Remove-AzureRmVpnClientRevokedCertificate cmdlet removes a client-revocation certificate from a virtual network gateway. Client-revocation
certificates prevent client computers from using the specified certificate for authentication. If you remove a client-revocation certificate
client computers can then use the previously-banned certificate to make a virtual private network (VPN) connection.
PARAMETERS
-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
-ResourceGroupName <String>
Specifies the name of the resource group that the virtual network gateway is assigned to.
Resource groups categorize items to help simplify inventory management and general Azure administration.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Thumbprint <String>
Specifies the unique identifier of the certificate being removed.
You can return thumbprint information for your certificates by using a Windows PowerShell command similar to this:
`Get-ChildItem -Path "Cert:\\LocalMachine\\Root"`
The preceding command returns information for all the Local Computer certificates found in the Root certificate store.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-VirtualNetworkGatewayName <String>
Specifies the name of the virtual network gateway that the certificate is assigned to.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-VpnClientRevokedCertificateName <String>
Specifies the name of the VPN client certificate being removed.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
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
None
This cmdlet does not accept any input.
OUTPUTS
NOTES
Example 1: Remove a client-revocation certificate from a virtual network gateway
PS C:\\>Remove-AzureRmVpnClientRevokedCertificate -VirtualNetworkGatewayName "ContosoVirtualNetwork" -ResourceGroupName"ContosoResourceGroup"
-VpnClientRevokedCertificateName "ContosoRevokedClientCertificate"-Thumbprint "E3A38EBA60CAA1C162785A2E1C44A15AD450199C3"
This command removes a client-revocation certificate from a virtual network gateway named ContosoVirtualNetwork. In order to remove a
client-revocation certificate, you must specify both the certificate name and the certificate thumbprint.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... ertificate
Add-AzureRmVpnClientRevokedCertificate
Get-AzureRmVpnClientRevokedCertificate
New-AzureRmVpnClientRevokedCertificate