Install-AdcsWebEnrollment
Install-AdcsWebEnrollment
Installs Certification Authority Web Enrollment
Syntaxe
Parameter Set: DefaultParameterSet
Install-AdcsWebEnrollment [-CAConfig <String> ] [-Credential <PSCredential> ] [-Force] [ <CommonParameters>]
Description détaillée
The Install-AdcsWebEnrollment cmdlet performs initial installation and configuration of the Certification Authority Web Enrollment role service. To remove the Web Enrollment role service use the Uninstall-AdcsWebEnrollment cmdlet.
You can import the cmdlet by running the following commands from Windows PowerShell:
Import-Module ServerManager
Add-WindowsFeature Adcs-Web-Enrollment
Paramètres
-CAConfig<String>
CAConfig parameter string. Do not specify this if there is a local CA installed.
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 |
-Credential<PSCredential>
If the Web Enrollment service is configured to use Standalone certification authority (CA), then an account that is a member of the local Administrators on the CA is required. If the Web Enrollment service is configured to use an Enterprise CA, then an account that is a member of Domain Admins is required.
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 |
-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 |
<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.
- PSCredential
Sorties
Le type de sortie est le type des objets émis par l’applet de commande.
- Microsoft.CertificateServices.Deployment.Commands.WebEnrollment.WebEnrollmentResult
Remarques
- Ensure you run Windows PowerShell® as an administrator. You can use the -force switch to bypass the prompt for confirmation.
To see parameters, run the following command: install-AdcsWebEnrollment -?
Exemples
-------------------------- EXAMPLE 1 --------------------------
Description
-----------
This command installs the Web Enrollment role service to a CA specified by <CAComputerName>\<CACommonName>. Replace the computer name of the certification authority (CA) for <CAComputerName> and replace the CA common name for <CACommonName> when running the command.
C:\PS>Install-AdcsWebEnrollment -CAConfig <CAComputerName>\<CACommonName>
-------------------------- EXAMPLE 2 --------------------------
Description
-----------
This command isntalls the Web Enrollment role service to a CA specified by <CAComputerName>\<CACommonName> without requiring user confirmation. Replace the computer name of the certification authority (CA) for <CAComputerName> and replace the CA common name for <CACommonName> when running the command.
C:\PS>Install-AdcsWebEnrollment -CAConfig <CAComputerName>\<CACommonName> -force