Enumerate Certificate in the network


I would need to enumerates the certs which are installed on all the server in our network (windows 2003 & windows2008) ..

I would like to know are there any script available to collect the certificate information from w2k3 & windows 2008.


Made an update to add the expiry to the values returned:

Here is a script that should work:


we are getting below error while running the script

PS C:TempBios> server.domain.com
server.domain.com : The term 'server.domain.com' is not recognized as the name of a cmdlet
function, script file, or operable program. Check the spelling of the name, or if a path was included, verif
path is correct and try again.
At line:1 char:1
+ server.domain.com
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (server.domain.com:String) [], CommandNotFoundExcepti
+ FullyQualifiedErrorId : CommandNotFoundException

Ok so it seems like you are missing something:
Steps:1. Save the code snippet as

Related Posts