SAIMSKY ADMIN
asked on
How to get list of all thumb print - certificates installed on all servers.
I want to get list of all certificates installed on all of my servers.
Power shell script
Please advise
Power shell script
Please advise
Get-ChildItem -Recurse Cert:
Follow these steps:
http://justaucguy.wordpress.com/2012/12/13/powershell-quickscripts-certificates/
Thanks,
Henry
http://justaucguy.wordpress.com/2012/12/13/powershell-quickscripts-certificates/
Thanks,
Henry
If you have a list of servers and winrm configured this would work in a pinch:
gc c:\serverlist.txt | % {invoke-command -computername $_ -scriptblock {$hname = hostname; gci -recurse cert:\ | % {write-host $hanem $_.thumbprint $_.subject}}}
ASKER
Becraig Many thanks, Can you please set script to export the results in csv file with server name , thumbprint ,etc.
many thanks
many thanks
ASKER
Becraig, Please advise as I am getting this error for most of my servers when I run the above script.
Connecting to remote server SRV-S1158 failed with the following error message : The client cannot connect to the destination specified in the request. Verify that
the service on the destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service running on the destination, most commonly IIS or WinRM.
If the destination is the WinRM service, run the following command on the destination to analyze and configure the WinRM service: "winrm quickconfig". For more information, see the
about_Remote_Troubleshooti ng Help topic.
Can you please also set somthing good , so I can get some good looking report.
Many thanks
Connecting to remote server SRV-S1158 failed with the following error message : The client cannot connect to the destination specified in the request. Verify that
the service on the destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service running on the destination, most commonly IIS or WinRM.
If the destination is the WinRM service, run the following command on the destination to analyze and configure the WinRM service: "winrm quickconfig". For more information, see the
about_Remote_Troubleshooti
Can you please also set somthing good , so I can get some good looking report.
Many thanks
ASKER
Actually , I am looking for complete script in which i will extract all certificates /thumbprints according to servers name amd than I have to verfiy if these 3 thumprints avialable or not.
4822824ece7ed1450c039aa077 dc1f8ae348 9bbf
c6796490cdeeaab31aed798752 ecd003e686 6cb2
d2dbf71823b2b8e78f59580961 50bfcb97cc 388a
many thanks
4822824ece7ed1450c039aa077
c6796490cdeeaab31aed798752
d2dbf71823b2b8e78f59580961
many thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Wonderful and thanx