mirror of
https://github.com/JG2401/PowerShellProfiles.git
synced 2026-08-28 20:20:14 +00:00
Merge pull request #2 from JG2401/executionpolicies
execution-policies problem solution
This commit is contained in:
20
README.md
20
README.md
@@ -73,4 +73,22 @@ To open the profile configuration
|
||||
|
||||
My personal [profile](./DeveloperProfile.ps1).
|
||||
|
||||
A comprehensive sample for PSReadLine you can find on [GitHub](https://github.com/PowerShell/PSReadLine/blob/master/PSReadLine/SamplePSReadLineProfile.ps1).
|
||||
A comprehensive sample for PSReadLine you can find on [GitHub](https://github.com/PowerShell/PSReadLine/blob/master/PSReadLine/SamplePSReadLineProfile.ps1).
|
||||
|
||||
## Problem Solutions
|
||||
|
||||
### Execution Policies
|
||||
|
||||
In case you get an execution-policies error like that
|
||||
|
||||

|
||||
|
||||
you can check your policies with
|
||||
```
|
||||
Get-ExecutionPolicy -List
|
||||
```
|
||||
|
||||
and change it with the following command (run powershell as administrator)
|
||||
```
|
||||
Set-ExecutionPolicy -ExecutionPolicy Undefined -Scope LocalMachine
|
||||
```
|
||||
BIN
images/execution-policies_error.png
Normal file
BIN
images/execution-policies_error.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
Reference in New Issue
Block a user