Test-CertExpiry
Copy
NAME
Test-CertExpiry
SYNOPSIS
Checks certificate expiration.
SYNTAX
Test-RabbitMqPort -CertPath <string> [<CommonParameters>]
DESCRIPTION
The Test-CertExpiry cmdlet takes a .cer or .pem certificate as input and checks the certificate expiration date.
PARAMETERS
-CertPath <string>
Gets or sets the path of the certificate.
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information about the common parameters, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
---------- EXAMPLE 1 ----------
PS C:\>Test-CertExpiry -CertPath "$PSScriptRoot..\Examples**.cer" -verbose
REMARKS
To see the examples, type: "get-help Test-CertExpiry -examples".
For more information, type: "get-help Test-CertExpiry -detailed".
For technical information, type: "get-help Test-CertExpiry -full".
For online help, type: "get-help Test-CertExpiry -online"