Powershell How to get the Certificate thumbprint data
2017-09-13 11:08
453 查看
Today, I'm trying to get the thumbprint data by using powerhsell command, after a long search found it's the useful command to get it.
command should be:
Get-ChildItem -path Cert:\LocalMachine\my
PS C:\script\DSC1\mod3> Get-ChildItem -path Cert:\LocalMachine\my
Directory: Microsoft.PowerShell.Security\Certificate::LocalMachine\my
Thumbprint Subject
---------- -------
F053279CD91492B45AF16C6E34953C069DA231F9 CN=abc-12R2-DC-CA, DC=abc, DC=com
C56F6AA4BCF04764BB6CDB0A6FD55B17E486CE68 CN=abc company, OU=abc, O=abc, L=beijing, S=beijing, C=CN
9F376EC8425F190AD762D1BB5B7FCBCF72A08F5F CN=WMSvc-12R2-DC
882871BA1433E827D8788203D384436B8F587EFB CN=12R2-DC.abc.com
4DEAFE147C8542B1D02563FE959AE0C8DC598724 CN=PowerShellWebAccessTestWebSite
command should be:
Get-ChildItem -path Cert:\LocalMachine\my
PS C:\script\DSC1\mod3> Get-ChildItem -path Cert:\LocalMachine\my
Directory: Microsoft.PowerShell.Security\Certificate::LocalMachine\my
Thumbprint Subject
---------- -------
F053279CD91492B45AF16C6E34953C069DA231F9 CN=abc-12R2-DC-CA, DC=abc, DC=com
C56F6AA4BCF04764BB6CDB0A6FD55B17E486CE68 CN=abc company, OU=abc, O=abc, L=beijing, S=beijing, C=CN
9F376EC8425F190AD762D1BB5B7FCBCF72A08F5F CN=WMSvc-12R2-DC
882871BA1433E827D8788203D384436B8F587EFB CN=12R2-DC.abc.com
4DEAFE147C8542B1D02563FE959AE0C8DC598724 CN=PowerShellWebAccessTestWebSite
相关文章推荐
- How to get the control inside the ControlTemplate/DataTemplate on run time.
- How to get the data from a cell when I click on the GridButtonColumn of the same row
- How to get the running applications in windows task manager using powershell
- How to Get the Frequency Table of a Categorical Variable as a Data Frame in R
- How to get the rowid when insert the data to Oracle database
- How to get the Diagnostic data and debug file of Sales Order pick release
- How to get the SHA-1 fingerprint certificate in Android Studio for debug mode?
- How to get the text from any standard object
- how to print the spend time of one function
- How to get the url of a page in OpenERP?
- uiview 某点返回 色值 How to get the color of a pixel in an UIView?
- How To Print a Form That Is Too Large for the Screen or Page
- To get the "month" from a DATE datatype
- How to use 'SetItemData()' and 'GetItemData()'?
- How to block USB Thumb Drives and USB Hard Drives, but allow specific USB Drives in the Application and Device Control Policy in Symantec Endpoint Pro
- How to get the length of array of strings in C? - Yahoo! Answers
- 【Ant】How to print all the system properties in Ant build file
- [JavaScript]How to parse the URL and get the different fragments easily?
- *****How to scroll in the grid when editing data in a cell
- How to get the JSON results in ExtJS