Skip to content

nm-check-certificate-expiration.ps1 #9

@hug0live

Description

@hug0live

Hello,

When there are not certificates, script return $bReturnOK (=$True). Shouldn't it return an integer 0,1,2,3 ? (example : $returnStateOK)

if (-Not $objCertificates) { Write-Output "No Certificates Found" exit $returnStateOK }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions