Site icon TOSS

Install-AdcsWebEnrollment

powershell

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

Synopsis
Installs Certification Authority Web Enrollment

Description
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

Parameters

-CAConfig 
         CAConfig parameter string. Do not specify this if there is a local CA installed.

    Required?                    false
    Position?                    named
    Default value                
    Accept pipeline input?       true (ByPropertyName)
    Accept wildcard characters?  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.

    Required?                    false
    Position?                    named
    Default value                
    Accept pipeline input?       true (ByPropertyName)
    Accept wildcard characters?  false

-Force <SwitchParameter>
    Forces the command to run without asking for user confirmation.

    Required?                    false
    Position?                    named
    Default value                
    Accept pipeline input?       false
    Accept wildcard characters?  false

Syntax

      Install-AdcsWebEnrollment [-CAConfig ] [-Credential ] [-Force ] [] 

Notes
Ensure you run Windows PowerShell® as an administrator. You can use the -force switch to bypass the prompt for confirmation.

————————– EXAMPLE 1 ————————–
C:\PS>Install-AdcsWebEnrollment -CAConfig \
This command installs the Web Enrollment role service to a CA specified by \. Replace the computer name of the certification authority (CA) for and replace the CA common name for when running the command.

————————– EXAMPLE 2 ————————–
C:\PS>Install-AdcsWebEnrollment -CAConfig \ -force
This command isntalls the Web Enrollment role service to a CA specified by \ without requiring user confirmation. Replace the computer name of the certification authority (CA) for and replace the CA common name for when running the command.

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

Get-Command Install-AdcsWebEnrollment

You can also read about
Uninstall-AdcsWebEnrollment

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

Exit mobile version