< Back

Get-PACertificate

Sat Jan 18, 2020 7:31 pm

NAME Get-PACertificate



SYNOPSIS

Get ACME certificate details.





SYNTAX

Get-PACertificate [[-MainDomain] <String>] [<CommonParameters>]



Get-PACertificate -List [<CommonParameters>]





DESCRIPTION

Returns details such as Thumbprint, Subject, Validity, SANs, and file locations for one or more ACME certificates

previously created.





PARAMETERS

-MainDomain <String>

The primary domain associated with the certificate. This is the domain that goes in the certificate's subject.



Required? false

Position? 1

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-List [<SwitchParameter>]

If specified, the details for all completed certificates will be returned for the current account.



Required? true

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

PoshACME.PACertificate





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-PACertificate



Get cached ACME order details for the currently selected order.









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-PACertificate site.example.com



Get cached ACME order details for the specified domain.









-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Get-PACertificate -List



Get all cached ACME order details.











RELATED LINKS

Project: https://github.com/rmbolger/Posh-ACME

New-PACertificate