Uninstall-AdcsEnrollmentPolicyWebService
Uninstall-AdcsEnrollmentPolicyWebService
Uninstalls the Certificate Enrollment Policy Web service.
Syntaxe
Parameter Set: UninstallSingleInstance
Uninstall-AdcsEnrollmentPolicyWebService -AuthenticationType <AuthenticationType> [-Force] [-KeyBasedRenewal] [ <CommonParameters>]
Parameter Set: UninstallAll
Uninstall-AdcsEnrollmentPolicyWebService [-AllPolicyServers] [-Force] [ <CommonParameters>]
Description détaillée
The Uninstall-AdcsEnrollmentPolicyWebService cmdlet uninstalls the Certificate Enrollment Policy Web Service.
Paramètres
-AllPolicyServers
Uninstall all instances of the Certificate Enrollment Policy (CEP) Web Service.
Alias |
none |
Obligatoire ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
true (ByPropertyName) |
Accepter les caractères génériques ? |
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 |
none |
Obligatoire ? |
true |
Position ? |
named |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
true (ByPropertyName) |
Accepter les caractères génériques ? |
false |
-Force
Force la commande à s’exécuter sans demander confirmation à l’utilisateur.
Alias |
none |
Obligatoire ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
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 |
none |
Obligatoire ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
true (ByPropertyName) |
Accepter les caractères génériques ? |
false |
<CommonParameters>
Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d’informations, consultez about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entrées
Le type d’entrée correspond au type des objets que vous pouvez transmettre à l’applet de commande.
- bool, enum, bool
Sorties
Le type de sortie est le type des objets émis par l’applet de commande.
- Microsoft.CertificateServices.Deployment.Commands.CEP.EnrollmentPolicyServiceResult
Remarques
- Ensure you run Windows PowerShell as an administrator. You can use the -force switch to bypass the prompt for confirmation.
Exemples
-------------------------- 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