/List 參數

增強式儲存體憑證管理工具的 /List 參數會列出連線到電腦的所有 IEEE 1667 相容 USB 存放裝置。 這個交換器也可以用來列出憑證 (,以及其在驗證接收器憑證內的屬性) , (ASC) 儲存在指定的 USB 儲存裝置中。

    EhStorCertMgrCmd /List [-Volume:
    VolumeName
    ]

子參數

-體積:
IEEE 1667 相容 USB 儲存體的磁片區名稱。 如需此參數格式的詳細資訊,請參閱 增強式儲存體憑證管理工具概觀

注意 若要產生目前連線到電腦的 IEEE 1667 相容 USB 儲存裝置磁片區名稱清單,請在命令提示字元中輸入 EhStorCertMgrCmd /List ,然後按 Enter 鍵。

評論

如果您使用 /List 參數不含任何參數,此工具會報告連線到電腦的所有 IEEE 1667 相容 USB 存放裝置。 在此情況下,只會報告 USB 存放裝置的磁片區名稱。

如需特定 USB 儲存裝置的詳細資訊,請使用 -Volume 參數來指定裝置。 在此情況下,此工具會報告裝置中 ASC 存放區記憶體在的憑證。

範例

此範例示範如何列出連線到電腦的 IEEE 1667 相容 USB 存放裝置。

EhStorCertMgrCmd /List
Executing list switch...
Volume Name : \\?\usbstor#ieee1667control&ven_msft&prod_disk_sim_v0.01&rev_0.01#123456789&0&control#{4f40006f-b933-4550-b532-2b58cee614d3}

此範例示範如何列出 IEEE 1667 相容 USB 儲存裝置之 ASC 存放區內憑證的詳細資料。

EhStorCertMgrCmd.exe /List -Volume:"\\?\usbstor#ieee1667control&ven_msft&prod_disk_sim_v0.01&rev_0.01#123456789&0&control#{4f40006f-b933-4550-b532-2b58cee614d3}"
Executing List operation for specified volume name...
## Certificate Subject             : Microsoft Cert Simulator RSA 1024 SHA-1
---------------------------------
Certificate Index               : 0
Issued To                       : Microsoft Cert Simulator RSA 1024 SHA-1
Issued By                       : Microsoft 1667 Simulator Root
Certificate Expiration Date     : 12/30/9999
Certificate Status              : A certificate chain could not be built to a trusted root authority.

## Certificate Subject             : PCp PKCS SHA-1 1024 no ext
---------------------------------
Certificate Index               : 1
Issued To                       : PCp PKCS SHA-1 1024 no ext
Issued By                       : PCp PKCS SHA-1 1024 no ext
Certificate Expiration Date     : 5/31/2010
Certificate Status              : Certificate is Valid

## Certificate Subject             : HCh PKCS SHA-1 1024 no ext
---------------------------------
Certificate Index               : 2
Issued To                       : HCh PKCS SHA-1 1024 no ext
Issued By                       : HCh PKCS SHA-1 1024 no ext
Certificate Expiration Date     : 5/31/2010
Certificate Status              : Certificate is Valid