PowerShell PKI Module Documentation

Documentation Home
This command requires installed Remote Server Administration Tools (RSAT)

Connect-CertificationAuthority

Synopsis

Connects to a specified Certification Authority server.

Syntax

Connect-CertificationAuthority [[-ComputerName] <String[]>] [<CommonParameters>]

Description

Connects to a specified Certification Authority server. The command supports connection to a single Standalone or Enterprise CA server.

This command is similar to Get-CertificationAuthority and it's result can be piped to any command that accepts the Get-CertificationAuthority command's output.

Parameters

-ComputerName <String[]>

Specifies the fully qualified domain name (FQDN) or short name (NetBIOS) of the computer that hosts Certification Authority role.

Required? False
Position? 0
Default value . (local computer)
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

None.

Outputs

PKI.CertificateServices.CertificateAuthority

Notes

Examples

Example 1

PS C:\> Connect-CertificationAuthority

Attempts to connect to a CA server that is installed on a local computer.

Example 2

PS C:\> Connect-CertificationAuthority -ComputerName ca01.company.com

Attempts to connect to a CA server that is installed on a 'ca01.company.com' computer.

Related links

Get-CertificationAuthority

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