Install-AdcsOnlineResponder

Installs the Online Responder service.

Syntax

Install-AdcsOnlineResponder
       [-Force]
       [-Credential <PSCredential>]
       [-WhatIf]
       [-Confirm]
       [<CommonParameters>]

Description

The Install-AdcsOnlineResponder cmdlet installs the Online Responder service, which provides Online Certificate Status Protocol (OSCP) services. To remove the role service, use the Uninstall-AdcsOnlineResponder cmdlet.

You can import the cmdlet by running the following commands from Windows PowerShell:

  • Import-Module ServerManager
  • Add-WindowsFeature Adcs-Online-Cert

Examples

Example 1: Install the Online Responder role service

Install-AdcsOnlineResponder

This command installs the Online Responder role service.

Example 2: Force the installation of the Online Responder role service

Install-AdcsOnlineResponder -Force

This command forces the installation of the Online Responder role service.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Credential

Specifies a PSCredential object for the Online Responder service. To obtain a credential object, use the Get-Credential cmdlet. For more information, type Get-Help Get-Credential. You can install the Online Responder role service only on servers that are members of Active Directory Domain Services (AD DS) domains. If you are installing an online responder configured to use a standalone certification authority (CA), then an account that is a member of the local Administrators group of the target server is required. If you are installing an online responder to target an Enterprise CA, then an account that is a member of the Domain Admins group is required.

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

-Force

Forces the command to run without asking for user confirmation.

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

-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

PSCredential

Outputs

Microsoft.CertificateServices.Deployment.Common.OCSP.OnlineResponderResult

Notes

  • Ensure you run Windows PowerShell as an administrator. You can use the Force parameter to bypass the prompt for confirmation. To see parameters, run the following command:

    Install-AdcsOnlineResponder -?