Forum Discussion

drawson's avatar
drawson
Brass Contributor
Aug 09, 2019

Inventory SSL Root Cert Remotely Using PowerShell

I am not well versed with PowerShell but after researching it appears PowerShell might be the tool I need.  I have a need to inventory all computers on my AD to confirm whether or not they have the necessary SSL root certs that I have attempted to push out via GPO. 

 

Most computers do have the certs but I need to identify the ones that do not.

 

All examples I've run across seem to include "Path Cert :\localmachine". How do I replace 'localmachine' for 'computer name' to gather SSL cert info from remote computers on my LAN?

 

One example but it is not entirely clear how I would modify this script to connect remotely to each machine:

 

https://devblogs.microsoft.com/scripting/get-certificate-info-into-a-csv-by-using-powershell/

http://notesofascripter.com/2016/09/19/using-powershell-work-ssl-certificates/

 

 

8 Replies

Resources