Uninstall-AdcsEnrollmentWebService
Uninstalls the Certificate Enrollment Web service or individual instances of it.
The Uninstall-AdcsEnrollmentWebService cmdlet uninstalls the Certificate Enrollment Web Service either entirely removing all instances of it or partially by removing individual instances.
-AllEnrollmentServices
Specifies the removal of Certificate Enrollment Web Service instances.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-AuthenticationType <AuthenticationType>
Specifies the authentication type of the of enrollment services instance to be uninstalled.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-CAConfig <String>
Specifies the configuration string of the certification authority (CA) for which enrollment services will be uninstalled. This parameter is used to identify which instance of the Certificate Enrollment Web Service is to be uninstalled when multiple are present.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Force <SwitchParameter>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
Uninstall-AdcsEnrollmentWebService [-Force ] -AuthenticationType -CAConfig []
Uninstall-AdcsEnrollmentWebService [-AllEnrollmentServices ] [-Force ] [<CommonParameters>]
The application directories are removed from their respective instance folders in the file system. The uninstall command does not remove the Secure Sockets Layer/Transport Layer Security (SSL/TLS) or the secure hypertext transfer protocol (https) bindings.
C:\PS>Uninstall-AdcsEnrollmentWebService –AllEnrollmentServices -force
This command removes all the Web Enrollment role services without prompting for confirmation.
C:\PS>Uninstall-AdcsEnrollmentWebService -CAConfig life.general.TOSSolution.com\general-life-CA -AuthenticationType Certificate
This command removes the Certificate Enrollment Web Service using the CA specified by the configuration life.general.TOSSolution.com\general-life-CA. The CA configuration is the CA Computer Name and CA common name separated by a backslash. The authentication type in use is Certificate.
Get-Command Uninstall-AdcsEnrollmentWebService
Install-AdcsEnrollmentWebService