New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ExecutionPolicy default value is RemoteSigned #72993
Conversation
##### SUMMARY In Windows setup steps, settings `ExecutionPolicy` is restored to value `Restricted`. But actually default value for Windows server is not `Restricted` but `RemoteSigned` ([source](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7.1#default)). I have got issue with `win_dsc` because `ExecutionPolicy` was `Restricted`. ##### ISSUE TYPE - Docs Pull Request +label: docsite_pr
Thanks @jpmat296 for your Ansible docs PR. The question I have - from the source you point to, the default is correct for a Windows client, but needs to be If you agree, I've added some suggested edits to make this clear. |
Dear @samccann I'm ok with your suggested edit. Thanks a lot. |
Thanks @jpmat296 for the Ansible docs fix! |
SUMMARY
In Windows setup steps, settings
ExecutionPolicy
is restored to valueRestricted
. But actually default value for Windows server is notRestricted
butRemoteSigned
(source).I have got issue with
win_dsc
becauseExecutionPolicy
wasRestricted
.ISSUE TYPE
+label: docsite_pr