Get-TrustedProvisioningCertificate

Lists all installed trusted provisioning certificates.

Syntax

Get-TrustedProvisioningCertificate
   [[-Thumbprint] <String>]
   [-LogsDirectoryPath <String>]
   [-WprpFile <String>]
   [-ConnectedDevice]
   [<CommonParameters>]

Description

Lists all installed trusted provisioning certificates; use this cmdlet to get the certificate thumbprint to use with the Uninstall-TrustedProvisioningCertificate cmdlet.

The Get-TrustedProvisioningCertificate cmdlet is supported on Windows 11 client operating system only.

Examples

Example 1: List installed trusted provisioning certificates

PS C:\> Get-TrustedProvisioningCertificate

The operation completed successfully.

No certificates found in the trusted provisioners store

Lists all installed trusted provisioning certificates.

Parameters

-ConnectedDevice

If enabled, specifies that the device type is mobile.

Type:SwitchParameter
Aliases:Device
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-LogsDirectoryPath

Specifies the logs directory path.

Type:String
Aliases:Logs
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Thumbprint

Specifies the thumbprint of the certificate to retrieve.

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

-WprpFile

Specifies the location of the WPR profile file.

Type:String
Aliases:Wprp
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

Object