Edit

Share via


Clear-IISCentralCertProvider

Removes configuration information from the IIS central certificate store.

Syntax

Default (Default)

Clear-IISCentralCertProvider
    [-Force]
    [<CommonParameters>]

Description

The Clear-IISCentralCertProvider cmdlet removes all settings for the central certificate provider. You must specify the Force parameter if the Central Certificate Store feature is enabled. If you specify Force, the feature is disabled and all the settings are cleared. If the Central Certificate Store feature is already disabled, you do not need to specify Force.

Examples

Example 1: Clear configuration information from the IIS certificate store

PS C:\> Clear-IISCentralCertProvider

This command removes all the configuration information for the IIS central certificate store without removing the provider itself.

Parameters

-Force

Forces the command to run without asking for user confirmation.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

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

None

Outputs

Object