Comments on this page are supposed to improve article content and no technical support is provided. For technical questions, please visit project home page at: https://pspki.codeplex.com/

Remove-CertificateEnrollmentService

[This command is not available in non-domain environments]

[This command requires installed Remote Server Administration Tools (RSAT)]

Remove-CertificateEnrollmentService

Synopsis

Removes Certificate Enrollment Service (CES) instance from local computer.

Syntax

Remove-CertificateEnrollmentService [[-CAConfig] <String>] [[-Authentication] <String> {UsrPwd | Kerberos | Certificate} ] [-Force] [<CommonParameters>]

Description

This function removes Certificate Enrollment Service (CES) instance or instances if you wish to remove all CES instances from local computer.

Parameters

-CAConfig <String>

Specifies certification authority configuration string in: CAComputerName\CASanitizedName format. CAComputerName may be either DNS or NetBIOS name. If this parameter is omitted, CA selection UI will be displayed during instance removal. If -Force switch is used, this parameter will be ignored and all CES instances will be removed from local computer.

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

-Authentication <String>

Specifies authentication type to remove for specified instance. Possible values are: 'Kerberos', 'UsrPwd' or 'Certificate'. Kerberos is used by default. This parameter may be used if multiple instances are installed to work with the same CA server but they use different authentication types.

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

-Force <SwitchParameter>

Instructs to ignore CAConfig and Authentication parameters and remove all CES instances from local computer.

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 (http://go.microsoft.com/fwlink/?LinkID=113216).

Inputs

None.

Outputs

None.

Notes

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

Examples

Example 1

PS C:\> Remove-CertificateEnrollmentService -CAConfig "CA1\Contoso-CA"

Will remove all CES instances that was configured for CA server named 'Contoso-CA' and that is hosted on 'CA1' computer.

Example 2

PS C:\> Remove-CertificateEnrollmentService -Force

Will remove all CES instances from local computer.

Related links

Add-CertificateEnrollmentService
Add-CertificateEnrollmentPolicyService
Remove-CertificateEnrollmentPolicyService

PowerShell Support

  • PowerShell 3.0

Operating System Support

  • Windows Server 2008 R2 all editions

Comments:

Captcha