Powershell PSPKI模块在Azure自动帐户中不起作用

时间:2020-05-13 04:09:24

标签: azure powershell azure-automation powershell-module

我已将PSPKI模块导入到Azure自动帐户中,当使用PSPKI的cmdlet时,我总是无法识别命令。我可以看到模块已成功安装,并且可以在Runbook中看到这些cmdlet,但是以某种方式无法识别该cmdlet。

例如 Test-WebServerSSL -URL login.live.com

1 个答案:

答案 0 :(得分:1)

我可以重现您的问题,以解决该问题,请先运行Import-Module -Name PSPKI

Import-Module -Name PSPKI
Test-WebServerSSL -URL login.live.com

enter image description here