Configure Execution Policy
1 Votes |
Collections (part of 1 collection)
Description
This will allow you to configure the Execution Policy of powershell on endpoints.
This task allows you to configure a policy for your environment.
Property Details
632 | |
Configure Execution Policy | |
BESC | |
Setting | |
0 | |
danielheth@bigfix.me | |
<Unspecified> | |
<Unspecified> | |
4/21/2011 12:00:00 AM | |
PowerShell | |
True | |
danielheth on 10/24/2012 1:43:56 PM | |
danielheth on 10/24/2012 1:43:56 PM | |
3994 Views / 76 Downloads | |
![]() ![]() ![]() ![]() ![]() |
Relevance

name of operating system as string contains "Win"

exists key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1" whose (value "Install" of it as integer = 1) of registry
Actions
Action 1 (default)
Action Link Click
here to configure this setting.
Script Type
BigFix Action Script
action parameter query "ExecutionPolicy" with description "Please specify the setting you want to configure (Restricted, RemoteSigned, or Unrestricted):"
regset "[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell]" "ExecutionPolicy"="{parameter "ExecutionPolicy" as string}"
if {x64 of operating system}
regset64 "[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell]" "ExecutionPolicy"="{parameter "ExecutionPolicy" as string}"
endif
Success Criteria
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
Social Media: |