Vineesha.C
Vineesha.C

Reputation: 343

Powershell PSPKI module is not working in azure automation account

I've imported PSPKI modules in to azure automation account, when using the cmdlets of PSPKI I always get command not recognized. I could see the module is installed successfully and could see the cmdlets in my runbook, but somehow the cmdlets are not recognized.

for example Test-WebServerSSL -URL login.live.com

Upvotes: 0

Views: 248

Answers (1)

Joy Wang
Joy Wang

Reputation: 42043

I can reproduce your issue, to fix the issue, run Import-Module -Name PSPKI first.

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

enter image description here

Upvotes: 1

Related Questions