Edit

Share via


Uninstall-TrustedProvisioningCertificate

Removes a previously installed provisioning certificate.

Syntax

Default (Default)

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.

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 a certificate thumbprint.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:Id

Parameter sets

(All)
Position:0
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:True
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.

Inputs

String

Outputs

Object