Configure Execution Policy
Log In or Register to download the BES file, and more.

0 Votes

Collections (part of 1 collection)

PowerShell

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

ID74
TitleConfigure Execution Policy
DomainBESC
CategorySetting
Download Size0
Sourcedanielheth@bigfix.me
Source ID<Unspecified>
Source Severity<Unspecified>
Source Release Date4/21/2011 12:00:00 AM
KeywordsExecution Policy Configure configure powershell
Added by on 10/17/2012 9:31:55 AM
Last Modified by on 10/17/2012 9:37:44 AM
Counters 5930 Views / 70 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

Used in 9 fixlets and 4 analyses   * Results in a true/false
Show indented relevance
name of operating system as string contains "Win"
Used in 11 fixlets and 5 analyses   * Results in a true/false
Show indented relevance
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:
Share this page on Yammer

Comments

Log In or Register to leave comments!