Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Uninstall-AdcsEnrollmentWebService

Brian Lich|Last Updated: 3/26/2017

SYNOPSIS

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

SYNTAX

UninstallSingleInstance (Default)

Uninstall-AdcsEnrollmentWebService -CAConfig <String> -AuthenticationType <AuthenticationType> [-Force]
 [-WhatIf] [-Confirm] [<CommonParameters>]

UninstallAll

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

DESCRIPTION

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

EXAMPLES

Example 1: Uninstall all Enrollment Web Service role services

PS C:\> Uninstall-AdcsEnrollmentWebService -AllEnrollmentServices -Force

This command uninstalls all the Enrollment Web Service role services without prompting for confirmation.

Example 2: Uninstall an Enrollment Web Service role service using the specified CA

PS C:\> Uninstall-AdcsEnrollmentWebService -CAConfig "APP1.corp.contoso.com\corp-APP1-CA" -AuthenticationType Certificate

This command uninstalls the Certificate Enrollment Web Service using the CA specified by the configuration named APP1.corp.contoso.com\corp-APP1-CA. The CA configuration is the CA Computer Name and CA common name separated by a backslash. The authentication type in use is Certificate.

PARAMETERS

-AllEnrollmentServices

Indicates that this cmdlet removes all Certificate Enrollment Web Service instances.

Type: SwitchParameter
Parameter Sets: UninstallAll
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-AuthenticationType

Specifies the authentication type of the of enrollment services instance to be uninstalled.

Type: AuthenticationType
Parameter Sets: UninstallSingleInstance
Aliases: 
Accepted values: Kerberos, UserName, Certificate

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-CAConfig

Specifies the configuration string of the certification authority (CA) for which this cmdlet uninstalls enrollment services. This parameter is used to identify which instance of the Certificate Enrollment Web Service is to be uninstalled when multiple are present.

Type: String
Parameter Sets: UninstallSingleInstance
Aliases: 

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Force

Forces the command to run without asking for user confirmation.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

string,enum,bool

OUTPUTS

Microsoft.CertificateServices.Deployment.Commands.CES.EnrollmentServiceResult

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.

Install-AdcsEnrollmentWebService

© 2017 Microsoft