如下说明是翻译PowerShell中: help Get-PfxCertificate 产生的帮助信息.
译者: Edengundam(马涛)
Get-PfxCertificate
大纲
取得计算机上.pfx证书文件的信息.
语法
Get-PfxCertificate [-filePath] <string[]> [<CommonParameters>]
详细描述
Get-PfxCertificate cmdlet取得表示每个.pfx证书文件的对象. 一个.pfx文件包含了证书和一个私钥.
参数
-filePath <string[]>
.pfx文件或安全文件的全路径. 参数名称("-FilePath")为可选项.
|
强制参数?
|
true
|
|
参数位置?
|
1
|
|
默认值
|
|
|
允许从管道绑定输入?
|
true (根据值, 根据属性名)
|
|
允许通配符扩展?
|
true
|
<公共参数>
此命令支持公共参数: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. 更多信息, 输入, "get-help about_commonparameters".
输入类型
String
返回类型
certificateObject
注意
更多信息, 输入"Get-Help Get-PfxCertificate -detailed". 需要技术信息, 输入"Get-Help Get-PfxCertificate -full".
如果需要为该命令提供多个参数, 请使用逗号进行分隔. 例如, "<parameter-name> <value1>, <value2>".
例1
C:/PS>get-pfxcertificate -filepath C:/windows/system32/Test.pfx
T此命令取得系统上证书Test.pfx相关信息.
Password: ******
Signer Certificate: Rob Barker (Self Certificate)
Time Certificate:
Time Stamp:
Path:C:/windows/system32/zap.pfx
相关链接
Get-AuthenticodeSignature
Set-AuthenticodeSignature
About_Signing
本文介绍如何使用PowerShell的Get-PfxCertificate命令获取本地计算机上的.pfx证书文件详情,包括证书路径、签名者及时间戳等。
2612

被折叠的 条评论
为什么被折叠?



