Check-SSL
How-to get a SSL certificate expiration date and send an email alert if a defined threshold is exceeded, from a remote place.
Check-SSL | Add-SSLCertificate | Create a self signed SSL certificate
Test if a port on a remote computer is open or not.