Edit

Share via


Install-AdcsOnlineResponder

Installs the Online Responder service.

Syntax

Default (Default)

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.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments: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.

Parameter properties

Type:PSCredential
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-Force

Forces the command to run without asking for user confirmation.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

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

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

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 -?