Saturday, 29 November 2014

Appsense Environment Manager Powershell Execution Policy

The following is an extract from the documentation surrounding powershell being embedded into Appsense Environment manager configurations.

The basics are if the powershell is to run in the user context you will need to ensure that powershell execution is allowed. 

You can control the powershell execution mode using GPO managed inside the appsense policy. 

Environment Manager overrides execution policies and bypasses any restrictions to enable the PowerShell scripts to run.

Execution polices for users and computers can also be set through Group Policy which override all PowerShell execution policies. A user policy which does not allow any scripts, or only those which are signed, will not affect the running of PowerShell Custom conditions if they are run as System. However, if run as the current user the user policy will not allow the scripts and the Custom condition will fail. A computer policy which does not allow any scripts or only those which are signed, will not allow the running of any PowerShell Custom conditions. Therefore, to successfully run Custom conditions which use PowerShell, your Group Policy must be set to allow these scripts to run for users and computers.

No comments:

Post a Comment