Get-AdfsCertificate

Get-AdfsCertificate is accessible with the help of adfs module. To install adfs on your system please refer to this adfs.

Synopsis

Retrieves the certificates from AD FS.

Description

The Get-AdfsCertificate cmdlet retrieves the certificates that Active Directory Federation Services (AD FS) uses for token signing, token decrypting, card signing, and securing service communications.

Parameters

-CertificateType
Specifies the type of the certificate to retrieve. The acceptable values for this parameter are:

    -- Infocard-Signing 
    -- Service-Communications
    -- Token-Encryption
    -- Token-Signing

    Required?                    false
    Position?                    1
    Default value                none
    Accept pipeline input?       false
    Accept wildcard characters?  false

-Thumbprint <String[]>
    Specifies the thumbprint of the certificate to retrieve.

    Required?                    true
    Position?                    1
    Default value                none
    Accept pipeline input?       false
    Accept wildcard characters?  false

Syntax

Get-AdfsCertificate [[-CertificateType] <String[]>] [<CommonParameters>]

Get- AdfsCertificate [-Thumbprint] <String[]> [<CommonParameters>]

Notes
You can use the Get-AdfsCertificate cmdlet without any parameters to get all the certificates.

———————-Example 1 ———————-
Get the token-signing certificates
PS C:>Get-AdfsCertificate -CertificateType “Token-Signing”
This command retrieves the token-signing certificates for AD FS.

You can check the Version, CommandType and Source of this cmdlet by giving below command.

Get-Command Get-AdfsCertificate

Get-Command Get-AdfsCertificate powershell script command cmdlet adfs

You can also read about

  • Add-AdfsCertificate
  • Remove-AdfsCertificate
  • Set-AdfsCertificate
  • Update-AdfsCertificate

To know more PowerShell cmdlets(Commands) on Active Directory Federation Services(ADFS) click here

Click on this Link for an Single place where you get all the PowerShell cmdlet sorted based on the modules.

You can also refer other blogs on PowerShell at link

You can also refer other blogs on Microsoft at link

And also if you required any technology you want to learn, let us know below we will publish them in our site http://tossolution.com/

Like our page in Facebook and follow us for New technical information.

References are taken from Microsoft

Leave a Reply

Your email address will not be published. Required fields are marked *