List duplicated valid certificates on a MS PKI version 3

List duplicated valid certificates on a MS PKI version 3

Description

One more version of the script provided some weeks ago. This is a minor update but it can be helpful. In that version, the duplicated valid certificates are listed and two options are shown : keep or revoke. It is based on the certificate expiration date (property “NotAfter”). The most recent expiration date is shown as keep. The others are shown as revoke.
I think I will add soon a function in the script to ask to keep or revoke the duplicated certificates.

All of this cmdlets are member of the Powershell module PSPKI that can downloaded here
This useful module offers a lot of cmdlets to manage your Microsoft PKI. Some examples:

… and more here

The script has been successfully tested on a Microsoft PKI running on a Windows 2012R2 Server Standard edition

The script

<>

My Powershell script categories

Leave a Reply

Your email address will not be published. Required fields are marked *