Skip to main content
deleted 55 characters in body
Source Link
TylerH
  • 21.2k
  • 83
  • 84
  • 121

I have a very simple answer which works:

  1. Open PowerShell in administrator mode
  2. Run: set-executionpolicy unrestricted
  3. Open a regular PowerShell window and run your script.

I found this solution following the link that was given as part of the error message:    About Execution Policies

Edit: Make sure to run set-ExecutionPolicy default once you're done, or you will be exposed to security risks (thanks Anonymous user).

I have a very simple answer which works:

  1. Open PowerShell in administrator mode
  2. Run: set-executionpolicy unrestricted
  3. Open a regular PowerShell window and run your script.

I found this solution following the link that was given as part of error message:  About Execution Policies

Edit: Make sure to run set-ExecutionPolicy default once you're done, or you will be exposed to security risks (thanks Anonymous user).

  1. Open PowerShell in administrator mode
  2. Run: set-executionpolicy unrestricted
  3. Open a regular PowerShell window and run your script.

I found this solution following the link that was given as part of the error message:  About Execution Policies

Make sure to run set-ExecutionPolicy default once you're done, or you will be exposed to security risks.

Fix invalid link and spelling.
Source Link
Pang
  • 10.2k
  • 146
  • 87
  • 126

I have a very simple answer which works:

  1. Open PowerShell in administrator mode
  2. Run: set-executionpolicy unrestricted
  3. Open a regular PowerShell window and run your script.

I found this solution following the link that was given as part of error message: About Execution PoliciesAbout Execution Policies

Edit: Make sure to run set-ExecutionPolicy default once you're done, or you will be exposed to seuritysecurity risks (thanks Anonymous user).

I have a very simple answer which works:

  1. Open PowerShell in administrator mode
  2. Run: set-executionpolicy unrestricted
  3. Open a regular PowerShell window and run your script.

I found this solution following the link that was given as part of error message: About Execution Policies

Edit: Make sure to run set-ExecutionPolicy default once you're done, or you will be exposed to seurity risks (thanks Anonymous user).

I have a very simple answer which works:

  1. Open PowerShell in administrator mode
  2. Run: set-executionpolicy unrestricted
  3. Open a regular PowerShell window and run your script.

I found this solution following the link that was given as part of error message: About Execution Policies

Edit: Make sure to run set-ExecutionPolicy default once you're done, or you will be exposed to security risks (thanks Anonymous user).

added 141 characters in body
Source Link

I have a very simple answer which works:

  1. Open PowerShell in administrator mode
  2. Run: set-executionpolicy unrestricted
  3. Open a regular PowerShell window and run your script.

I found this solution following the link that was given as part of error message: About Execution Policies

Edit: Make sure to run set-ExecutionPolicy default once you're done, or you will be exposed to seurity risks (thanks Anonymous user).

I have a very simple answer which works:

  1. Open PowerShell in administrator mode
  2. Run: set-executionpolicy unrestricted
  3. Open a regular PowerShell window and run your script.

I found this solution following the link that was given as part of error message: About Execution Policies

I have a very simple answer which works:

  1. Open PowerShell in administrator mode
  2. Run: set-executionpolicy unrestricted
  3. Open a regular PowerShell window and run your script.

I found this solution following the link that was given as part of error message: About Execution Policies

Edit: Make sure to run set-ExecutionPolicy default once you're done, or you will be exposed to seurity risks (thanks Anonymous user).

Applied some formatting (as a result the diff looks more extensive than it really is - use view "side-by-side markdown" to compare). Formatted according to the original intent in the Markdown source. Dressed the naked link.
Source Link
Peter Mortensen
  • 31.5k
  • 22
  • 110
  • 134
Loading
Source Link
Loading