691d626892
The script uses the . operator to access properties ($Secret.StartDateTime) except here: $RemainingDaysCount = $EndDate - $Now | Select-Object -ExpandProperty Days It is simpler to write $RemainingDaysCount = ($EndDate - $Now).Days |
||
---|---|---|
.. | ||
export-all-app-registrations-secrets-and-certs.ps1 | ||
export-all-enterprise-apps-secrets-and-certs.ps1 | ||
export-apps-with-expiring-secrets.ps1 | ||
export-apps-with-secrets-beyond-required.ps1 | ||
export-enterprise-apps-with-expiring-secrets.ps1 |