【发布时间】:2019-09-25 18:44:32
【问题描述】:
我正在尝试使用 Powershell 在环境中生成所有自签名证书的列表。
我需要将脚本的这一部分定向到多台机器(IP 地址),但我不知道该怎么做:
dir cert: -Recurse |
where {$_.subject -ne $null} |
where {$_.subject -eq $_.issuer} |
Export-Csv -NoTypeInformation -Encoding UTF8 -delimiter ';' -path .\ssc_export
Powershell 不是我的强项,但它是我在这种环境中可用的全部。任何见解将不胜感激!
【问题讨论】: