Uninstall-AdcsEnrollmentWebService

Uninstall-AdcsEnrollmentWebService is accessible with the help of ADCSDeployment module. To install ADCSDeployment on your system please refer to this link.

Synopsis
Uninstalls the Certificate Enrollment Web service or individual instances of it.

Description
The Uninstall-AdcsEnrollmentWebService cmdlet uninstalls the Certificate Enrollment Web Service either entirely removing all instances of it or partially by removing individual instances.

Parameters

-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

Syntax

Uninstall-AdcsEnrollmentWebService [-Force ] -AuthenticationType  -CAConfig  []

Uninstall-AdcsEnrollmentWebService [-AllEnrollmentServices ] [-Force ] [<CommonParameters>]

Notes
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.

————————– EXAMPLE 1 ————————–
C:\PS>Uninstall-AdcsEnrollmentWebService –AllEnrollmentServices -force
This command removes all the Web Enrollment role services without prompting for confirmation.

————————– EXAMPLE 2 ————————–
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.

You can check the Version, CommandType and Source of this cmdlet by giving below command.

Get-Command Uninstall-AdcsEnrollmentWebService

Get-Command Uninstall-AdcsEnrollmentWebService powershell script command cmdlet

You can also read about
Install-AdcsEnrollmentWebService

Click on this Link for an Single place where you get all the PowerShell cmdlet sorted based on the modules.

You can also refer other blogs on PowerShell at link

You can also refer other blogs on Microsoft at link

And also if you required any technology you want to learn, let us know below we will publish them in our site http://tossolution.com/

Like our page in Facebook and follow us for New technical information.

References are taken from Microsoft

Leave a Reply

Your email address will not be published. Required fields are marked *