< Back

Get-AzureRmVpnClientRevokedCertificate

Tue Jan 29, 2019 9:55 pm

NAME Get-AzureRmVpnClientRevokedCertificate



SYNOPSIS

Gets information about VPN client-revocation certificates.





SYNTAX

Get-AzureRmVpnClientRevokedCertificate [-DefaultProfile <IAzureContextContainer>] -ResourceGroupName <String> -VirtualNetworkGatewayName <String>

[-VpnClientRevokedCertificateName <String>] [<CommonParameters>]





DESCRIPTION

The Get-AzureRmVpnClientRevokedCertificate cmdlet returns information about the client-revocation certificates assigned to a virtual network

gateway. Client-revocation certificates prevent client computers from using the specified certificate for authentication.

Get-AzureRmVpnClientRevokedCertificate enables you to return information about all the client-revocation certificates on the gateway or, by using

the VpnClientRevokedCertificateName parameter, to get information about a single certificate.





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



-VirtualNetworkGatewayName <String>

Specifies the name of the virtual network gateway where the revoked certificate information is assigned.



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 that this cmdlet gets.



Required? false

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



Get-AzureRmVpnClientRevokedCertificate returns instances of the Microsoft.Azure.Commands.Network.Models.PSVpnClientRevokedCertificate object.





NOTES









Example 1: Get information about all client-revocation certificates



PS C:\\>Get-AzureRmVpnClientRevokedCertificate -VirtualNetworkGatewayName "ContosoVirtualNetworkGateway" -ResourceGroupName "ContosoResourceGroup"



This command gets information about all the client-revocation certificates associated with the virtual network gateway named

ContosoVirtualNetworkGateway.





Example 2: Get information about specific client-revocation certificates



PS C:\\>Get-AzureRmVpnClientRevokedCertificate -VirtualNetworkGatewayName "ContosoVirtualNetwork" -ResourceGroupName "ContosoResourceGroup"

-VpnClientRevokedCertificateName "ContosoRevokedClientCertificate"



This command is a variation of the command shown in Example 1. In this case, however, the VpnClientRevokedCertificateName parameter is used to

limit the returned data to a specific client-revoked certificate: the certificate with the name ContosoRevokedClientCertificate.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... ertificate

Add-AzureRmVpnClientRevokedCertificate

New-AzureRmVpnClientRevokedCertificate

Remove-AzureRmVpnClientRevokedCertificate