Questions tagged [executionpolicy]

A security setting for Windows PowerShell that enables you to determine which Windows PowerShell scripts (if any) will be allowed to run on your computer.

81 questions
0
votes
0 answers

Set-ExecutionPolicy for one instance

Here's the problem: I'm trying to import the PoshRSJob module to my session of PowerShell. In order to do that I need to bypass my execution policy (remotesigned). I've tried this line: Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass But…
CuriousOne
  • 922
  • 1
  • 10
  • 26
0
votes
0 answers

enable Powershell script execution on domain

I am working on a mid-size Windows 2012 R2 domain right now, and slapped together a PowerShell login script. But I can't figure out how to allow regular users to run it! By default, PowerShell script execution is disabled in a Windows domain. I am…
Norsak
  • 9
  • 1
  • 4
0
votes
1 answer

Intellij not picking up correct execution policy for powershell

Ive changed my Powershell execution policy from Restricted to RemoteSigned. If I open up a new Powershell terminal and run Get-ExecutionPolicy I get back RemoteSigned. I've also setup Powershell to run in Intellij instead of the default command…
0
votes
0 answers

Powershell: AuthorizationManager check failed (3 or more files) ("ExecutionPolicy": "RemoteSigned" or "Unrestricted")

I have the problem when I try to excecute file 3 (auth_test2.ps1), then I get the error-message (and the output): AuthorizationManager check failed. At C:\Users\systemCESCH\Documents\Workspace.\auth_test1.ps1:2 char:2 + . <<<< ($thisScript +…
Dobi
  • 125
  • 5
  • 15
0
votes
2 answers

Powershell script execution failure in Windows

I have written a powershell script, but when i try to run it, i get an error saying .ps1 file cannot be loaded and It is not digitally signed. Powershell.exe -ExecutionPolicy Unrestricted -File script.ps1 Please help me out to solve this issue.
ananth joshi
  • 747
  • 3
  • 9
  • 11
0
votes
1 answer

Script execution policy

I have a PowerShell execution policy problem. At first I thought it was just because I was trying to run a script from a GitHub project, but I can't even run my own scripts. I didn't have this problem in the past, and I don't know what could have…
KingPen2
  • 13
  • 5
1 2 3 4 5
6