Comments on this page are supposed to improve article content and no technical support is provided. For technical questions, please visit project home page at: https://github.com/Crypt32/PSPKI

Get-CASchema

[This command requires installed Remote Server Administration Tools (RSAT)]

Get-CASchema

Synopsis

Retrieves Certification Authority database schema.

Syntax

Get-CASchema [-CertificationAuthority] <CertificateAuthority[]> [[-Table] <TableList>] [<CommonParameters>]

Description

Retrieves Certification Authority database schema depending on selected table. Default table is 'Request' table.

Parameters

-CertificationAuthority <CertificateAuthority[]>

Specifies the Certification Authority object. This object can be retrieved by running Get-CertificationAuthority command.

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

-Table <TableList>

Specifies a table to be processed. Possible values can be 'Reqest', 'Attribute', 'Extension' or 'CRL'.

By default 'Request' table is used.

Required? False
Position? 1
Default value Request
Accept pipeline input? false
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 (http://go.microsoft.com/fwlink/?LinkID=113216).

Inputs

PKI.CertificateServices.CertificateAuthority

Outputs

PKI.CertificateServices.DB.Schema

Notes

Author: Vadims Podans
Blog: https://www.sysadmins.lv

Examples

Example 1

PS C:\> Get-CertificationAuthority -Name MyCA* | Get-CASchema

Returns database schema for Certification Authority objects which name starts with "MyCA".

Example 2

PS C:\> Get-CertificationAuthority | Get-CASchema

Returns database schema for all Enterprise Certification Authority objects in the current forest.

Related links

Get-CertificationAuthority
Connect-CertificationAuthority

PowerShell Support

  • PowerShell 3.0

Operating System Support

  • Windows Server 2003 all editions
  • Windows Server 2008 all editions
  • Windows Server 2008 R2 all editions
  • Windows Server 2012 all editions
  • Windows Server 2012 R2 all editions

Comments:

Captcha