Uninstall-Trusted Provisioning Certificate

Removes a previously installed provisioning certificate.

Syntax

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

Description

Removes a previously installed provisioning certificate.

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

Examples

Example 1: Uninstall a trusted provisioning certificate

PS C:\> Uninstall-TrustedProvisioningCertificate -Thumbprint fedd995b45e633d4ef30fcbc8f3a48b627e9a28b

Uninstall a trusted provisioning certificate with the specified thumbprint.

Parameters

-ConnectedDevice

If enabled, specifies that the device type is mobile.

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

-LogsDirectoryPath

Specifies the logs directory path.

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

-Thumbprint

Specifies a certificate thumbprint.

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

-WprpFile

Specifies the location of the WPR profile file.

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

Inputs

String

Outputs

Object