PowerShell PKI Module Documentation

Documentation Home
This command is not available in non-domain environments
This command requires installed Remote Server Administration Tools (RSAT)

Restart-OnlineResponder

Synopsis

Restarts Online Responder service.

Syntax

Restart-OnlineResponder [-OnlineResponder] <OcspResponder[]> [<CommonParameters>]

Description

Restarts Online Responder service. This command restarts 'ocspsvc' service on specified server.

Parameters

-OnlineResponder <OcspResponder[]>

Specifies the Online Response instance to restart. This object can be reetrieved by calling Connect-OnlineResponder command.

Required? True
Position? 0
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, InformationAction, InformationVariable,
WarningAction, WarningVariable, OutBuffer, PipelineVariable and OutVariable.
For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).

Inputs

SysadminsLV.PKI.Management.CertificateServices.OcspResponder

Outputs

None.

Notes

Examples

Example 1

PS C:\> Connect-OnlineResponder "ocsp1.example.com" | Restart-OnlineResponder

Restarts Online Responder service on "ocsp1.example.com".

Related links

Connect-OnlineResponder
Start-OnlineResponder
Stop-OnlineResponder

Minimum PowerShell version support

  • Windows PowerShell 3.0

Operating System Support

  • Windows 7
  • Windows 8
  • Windows 8.1
  • Windows 10
  • Windows 11
  • Windows Server 2008 R2 all editions
  • Windows Server 2012 all editions
  • Windows Server 2012 R2 all editions
  • Windows Server 2016 all editions
  • Windows Server 2019 all editions
  • Windows Server 2022 all editions