Powershell Script to Remove all Expired Certificates on a Group of Servers
We are cleaning up our server environment and need to find all expired certs and delete them. The environment consists of Windows 2008 R2, Windows 2012, Windows 2012 R2 servers I have tried several published scripts that don't work, they just say completed with no output. I tried one published in stackoverflow: Powershell Script to remove expired certificates. I have also tried a few of the scripts below as well with no luck. Using the one by thumbprint is ok but I need to get rid of all expired certs ''' Delete by thumbprint Get-ChildItem Cert:\LocalMachine\My\D20159B7772E33A6A33E436C938C6FE7
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.