我使用这样的命令:
get-pfxcertificate C:\test.pfx Enter password: *******
该命令要求我填写提示.但我不能在我的脚本中执行此操作(test.ps1 for ex)
我需要的是这样的:
get-pfxcertificate C:\test.pfx -password "123456"
或类似的东西,所以我可以运行我的脚本,而不是每次都填写提示
我非常感谢任何回复
powershell
powershell ×1