PSSecurityException when running Import-Module Pester #2595
Unanswered
santhoshmprabhu
asked this question in
Q&A
Replies: 1 comment 6 replies
-
That's weird. Could you verify that it's loading the same module in both Windows PowerShell and PowerShell? One might have been modified. Does |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am new to Pester, and also dev on Windows in general. I am trying to use Pester to run tests on a different repo that I am working on, I seem to get the following error each time:
I am using Windows Powershell. I have tried installing Pester from the PSGallery as well as from chocolatey, I get the same error. I also tried 5.6.0 from chocolatey to no avail. Could someone kindly provide any pointers? More info about my Shell:
EDIT: I subsequently tried Powershell, and can now invoke Pester. That does unblock me, but still can't get Pester to work on Windows Powershell.
Beta Was this translation helpful? Give feedback.
All reactions