Get-TrustedProvisioningCertificate
Lists all installed trusted provisioning certificates.
Syntax
Default (Default)
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.
Parameter properties
| Type: | SwitchParameter |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | Device |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-LogsDirectoryPath
Specifies the logs directory path.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | Logs |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-Thumbprint
Specifies the thumbprint of the certificate to retrieve.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | Id |
Parameter sets
(All)
| Position: | 0 |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-WprpFile
Specifies the location of the WPR profile file.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | Wprp |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.