Removes Certificate Enrollment Service (CES) instance from local computer.
Remove-CertificateEnrollmentService [[-CAConfig] <String>] [[-Authentication] <String> {UsrPwd | Kerberos | Certificate} ] [-Force] [<CommonParameters>]
This function removes Certificate Enrollment Service (CES) instance or instances if you wish to remove all CES instances from local computer.
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 |
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 |
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 |
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).
None.
SysadminsLV.PKI.Utils.IServiceOperationResult
Author: Vadims Podans
Blog: https://www.sysadmins.lv
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.
PS C:\> Remove-CertificateEnrollmentService -Force
Will remove all CES instances from local computer.
Add-CertificateEnrollmentService
Add-CertificateEnrollmentPolicyService
Remove-CertificateEnrollmentPolicyService