Contents

Get URL or Server certificate expiry details with powershell

Website Visitors:
Contents

I was given a task to pull certificate information from our Citrix sites and servers. There are some free and paid tools to capture the information but for some reason, I wanted to write a script for it. This script pulls certificate information from websites, internal or external websites, and saves the data to a CSV file. The output file will have URL name, certificate start date, end date, issued by and today’s date. You have to create a file ‘urls.txt’ in the same folder where you run the script. You can use server names if they have certificates installed, and also use IP addresses as well. If needed you may add it to a task scheduler and run it on a scheduled basis or add email functionality to this script and get the CSV file in email. Feel free to use it.

PowerShell script is available at GitHub repository: Get Certificate Details

Want to learn more on Citrix Automations and solutions???

Subscribe to get our latest content by email.

If you like our content, please support us by sponsoring on GitHub below: