To fine Expiry SSL Cert details script
<# Script : Suresh with Owners.ps1 Support : knvhsuresh@hotmail.com Description : Script retrieves AAD Enterprise Application information, determines if the credential has expired, is near expiration or is still valid. Script will send an email via SendGrid API to credential owners informing them if the credential is expired or is near expiration. Current timeframe has been hard coded for nearing expiratiion or has expired is set to 90 Days. #> #Sets Variables used for AAD Enterprise Application queries $credsInventory = @() $status = @{} $path = "AppsWithCredentials-" + (Get-Date).ToString("MMddyyyy") + ".csv" #SendGrid API information for sending emails <# Param( [Parameter(Mandatory=$true)] [String]$devopsMailAPI ) #> #Creates function to sort credentials after initial Azure AD Query Function Sort-Credentials ($App, $Creds, $Owner, $CredsType) { if((Get-Date) -gt $($creds.EndDate)) {...