Get-MSMQCertificate

Returns certificates registered in Active Directory Domain Services.

Syntax

Get-MSMQCertificate
   [[-ComputerName] <String>]
   [<CommonParameters>]

Description

The Get-MsmqCertificate cmdlet returns an array of System.Security.Cryptography.X509Certificates.X509Certificate objects. Each object represents a personal certificate that is currently registered in Active Directory® Domain Services.

Examples

Example 1

PS C:\>Get-MsmqCertificate

Example 2

PS C:\>Get-MsmqCertificate -ComputerName "Contoso27"

Parameters

-ComputerName

Specifies a host or virtual server. This cmdlet gets the certificates of the current user for the specified host or virtual server. If you do not specify this parameter, this cmdlet gets the certificates of the current user for all hosts or virtual servers. The default value is an empty string.

Type:String
Aliases:cn
Position:0
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False