This page is retired and no longer updated. Project documentation and download links are moved to their new home: PowerShell PKI Module.
This command is not available in non-domain environments
This command requires installed Remote Server Administration Tools (RSAT)

Remove-CertificateEnrollmentPolicyService

Synopsis

Removes Certificate Enrollment Policy service instance from local computer.

Syntax

Remove-CertificateEnrollmentPolicyService [-Force] [<CommonParameters>]

Description

Removes Certificate Enrollment Policy service (CEP) instance from local computer.

Parameters

-Force <SwitchParameter>

Removes all CEP instances from local computer and removes role installation packages.

Required? False
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, InformationAction, InformationVariable,
WarningAction, WarningVariable, OutBuffer, PipelineVariable and OutVariable.
For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).

Inputs

None.

Outputs

SysadminsLV.PKI.Utils.IServiceOperationResult

Notes

Author: Vadims Podans
Blog: https://www.sysadmins.lv

Examples

Example 1

PS C:\> Remove-CertificateEnrollmentPolicyService

Will remove all CEP instances but leaves installation packages.

Example 2

PS C:\> Remove-CertificateEnrollmentPolicyService -Force

Will remove all CEP instances and removes installation packages.

Related links

Add-CertificateEnrollmentService
Add-CertificateEnrollmentPolicyService
Remove-CertificateEnrollmentService

Minimum PowerShell version support

  • PowerShell 3.0

Operating System Support

  • Windows Server 2008 R2 all editions

Share this article: