Uninstall-AdcsEnrollmentPolicyWebService
Uninstall-AdcsEnrollmentPolicyWebService
Uninstalls the Certificate Enrollment Policy Web service.
Sintaxis
Parameter Set: UninstallSingleInstance
Uninstall-AdcsEnrollmentPolicyWebService -AuthenticationType <AuthenticationType> [-Force] [-KeyBasedRenewal] [ <CommonParameters>]
Parameter Set: UninstallAll
Uninstall-AdcsEnrollmentPolicyWebService [-AllPolicyServers] [-Force] [ <CommonParameters>]
Descripción detallada
The Uninstall-AdcsEnrollmentPolicyWebService cmdlet uninstalls the Certificate Enrollment Policy Web Service.
Parámetros
-AllPolicyServers
Uninstall all instances of the Certificate Enrollment Policy (CEP) Web Service.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
true (ByPropertyName) |
¿Aceptar caracteres comodín? |
false |
-AuthenticationType<AuthenticationType>
Specifies the authentication type for the Certificate Enrollment Policy (CEP) Web Service instance to be uninstalled when multiple instances are present.
Alias |
ninguno |
¿Requerido? |
true |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
true (ByPropertyName) |
¿Aceptar caracteres comodín? |
false |
-Force
Fuerza que el comando se ejecute sin pedir confirmación al usuario.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-KeyBasedRenewal
Specifies the instance of the Certificate Enrollment Policy Web Service running in key-based renewal mode to be uninstalled. This parameter is optional. It is used to distinguish which instance of the Certificate Enrollment Policy Web Service is to be uninstalled if there are multiple instances that use the same authentication type. If this option is not specified, the instance of the Certificate Enrollment Policy Web Service that is using the defined AuthenticationType that is not enabled for KeyBasedRenewal mode is uninstalled.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
true (ByPropertyName) |
¿Aceptar caracteres comodín? |
false |
<CommonParameters>
Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entradas
El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.
- bool, enum, bool
Salidas
El tipo de resultado es el tipo de objetos que emite el cmdlet.
- Microsoft.CertificateServices.Deployment.Commands.CEP.EnrollmentPolicyServiceResult
Notas
- Ensure you run Windows PowerShell as an administrator. You can use the -force switch to bypass the prompt for confirmation.
Ejemplos
-------------------------- EXAMPLE 1 --------------------------
Description
-----------
This command removes all configurations in the Certificate Enrollment Policy Web Service without prompting for confirmation.
C:\PS>Uninstall-AdcsEnrollmentPolicyWebService -AllPolicyServers -force
-------------------------- EXAMPLE 2 --------------------------
Description
-----------
This command removes the instance of Certificate Enrollment Policy Web Service that is utilizing certificate authentication and is in key-based renewal mode without prompting for confirmation.
C:\PS>Uninstall-AdcsEnrollmentPolicyWebService –AuthenticationType Certificate –KeyBasedRenewal -force