Get-CMClientCertificatePfx

SYNOPSIS

Gets a client PFX certificate.

SYNTAX

Get-CMClientCertificatePfx [-UserName <String>] [-Thumbprint <String>] [-InputObject <IResultObject>]
 [-DisableWildcardHandling] [-ForceWildcardHandling] [<CommonParameters>]

DESCRIPTION

The Get-CMClientCertificatePfx cmdlet gets a client Personal Information Exchange (PFX) certificate.

EXAMPLES

Example 1: Get a client PFX certificate

PS C:\> Get-CMClientCertificatePfx -UserName (Get-CMUser -Name "Contoso\Administrator").SMSID -Thumbprint  e1c2fff14282b61f79f78fbfca6721f0517ab767

This command gets the Pfx client certificate for the user named Administrator with the specified thumbprint.

PARAMETERS

-DisableWildcardHandling

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with ForceWildcardHandling.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ForceWildcardHandling

ForceWildcardHandling processes wildcard characters and may lead to unexpected behavior (not recommended). Cannot be combined with DisableWildcardHandling.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-InputObject

Specifies a PFX certificate profile object. To obtain a PFX certificate profile object, use the Get-CMCertificateProfilePfx cmdlet.

Type: IResultObject
Parameter Sets: (All)
Aliases: CertificateProfilePfx

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Thumbprint

Specifies the thumbprint of the client PFX certificate. If you do not specify this parameter, all certificates for the user are returned.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-UserName

Specifies the name of the user whose client PFX certificate you want to get. To get a value for this parameter, you can use the following command: (Get-CMUser -Name "Contoso\Administrator").SMSID.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

IResultObject#SMS_ClientPfxCertificate

NOTES

Get-CMCertificateProfilePfx

Get-CMUser

Import-CMClientCertificatePfx

Remove-CMClientCertificatePfx