< Back

Get-PAOrder

Sat Jan 18, 2020 7:31 pm

NAME Get-PAOrder



SYNOPSIS

Get ACME order details.





SYNTAX

Get-PAOrder [[-MainDomain] <String>] [-Refresh] [<CommonParameters>]



Get-PAOrder -List [-Refresh] [<CommonParameters>]





DESCRIPTION

Returns details such as Domains, key length, expiration, and status for one or more ACME orders previously created.





PARAMETERS

-MainDomain <String>

The primary domain associated with the order. 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 orders will be returned.



Required? true

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Refresh [<SwitchParameter>]

If specified, any order details returned will be freshly queried from the ACME server. Otherwise, cached

details will be returned.



Required? false

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.PAOrder





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



PS C:\\>Get-PAOrder



Get cached ACME order details for the currently selected order.









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



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



Get cached ACME order details for the specified domain.









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



PS C:\\>Get-PAOrder -List



Get all cached ACME order details.









-------------------------- EXAMPLE 4 --------------------------



PS C:\\>Get-PAOrder -Refresh



Get fresh ACME order details for the currently selected order.









-------------------------- EXAMPLE 5 --------------------------



PS C:\\>Get-PAOrder -List -Refresh



Get fresh ACME order details for all orders.











RELATED LINKS

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

Set-PAOrder

New-PAOrder