# Get-RASCertificate

## NAME

Get-RASCertificate

## SYNOPSIS

Retrieves information about one or multiple Certificates.

## SYNTAX

**Get-RASCertificate** \[\[-[Id](#Id)] _\<uint>_] \[_<_[_CommonParameters_](#CommonParameters)_>_]

**Get-RASCertificate** \[\[-[Name](#Name)] _\<string>_] \[\[-[SiteId](#SiteId)] _\<uint>_] \[_<_[_CommonParameters_](#CommonParameters)_>_]

## DESCRIPTION

Retrieves information about one or multiple Certificates.

## PARAMETERS

-**Name \<string>**\
The name of the Certificate for which to retrieve the information.

```
        Required?                    false

        Position?                    0

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**SiteId \<uint>**\
Site ID from which to retrieve the Certificate information.

```
        Required?                    false

        Position?                    1

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**Id \<uint>**\
The ID of a Certificate for which to retrieve the information.

```
        Required?                    false

        Position?                    0

        Default value                0

        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 documentation. 
```

## INPUTS

-none-

## OUTPUTS

[Certificate](../classes-and-enumerations/certificate)

## EXAMPLES

**---------- EXAMPLE 1 ----------**

Get-RASCertificate

Retrieves information about all the Certificates from the Licensing Server site.\
&#xNAN;**---------- EXAMPLE 2 ----------**

Get-RASCertificate -Name "Cert"

Retrieves information about the Certificate specified by Name from the Licensing Server site.\
&#xNAN;**---------- EXAMPLE 3 ----------**

Get-RASCertificate -Id 1

Retrieves information about the Certificate specified by ID from the Licensing Server site.

## RELATED LINKS

* [New-RASCertificate](new-rascertificate)
* [Remove-RASCertificate](remove-rascertificate)
* [Set-RASCertificate](set-rascertificate)
* [Invoke-RASExportCertificate](invoke-rasexportcertificate)
* [Invoke-RASCertificateCmd](invoke-rascertificatecmd)
