Document managing ExecutionPolicy for PowerShell profile scripts.
Opened this issue · 0 comments
kherrera-ebsco commented
The following checks have been done.
- I could not find another enhancement request that covers what I need.
- This request does not cover existing functionality.
What existing feature needs to be enhanced?
The documentation for integrating into PowerShell.
What problem is being solved?
Some PowerShell configurations may have their ExecutionPolicy
undefined which prevents the integration script from being loaded.
How would you like to see this problem solved?
Update the documentation to help PowerShell users that get caught by this issue.
- Check what the
ExecutionPolicy
is forCurrentUser
.Get-ExecutionPolicy -List
- Allow local scripts to be executed.
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned
Some additional context.
This appears to be a Windows specific issue beginning with PowerShell 6.0 (see -ExecutionPolicy
documentation).