I have several apps using powershell inputs and scripts. By default in Windows, they are not authorized to run.
How to change it ?
Open the powershell shell as admin, then type
set-executionpolicy Unrestricted
Verify the result with
Get-ExecutionPolicy
see http://technet.microsoft.com/en-us/library/hh849812.aspx
Open the powershell shell as admin, then type
set-executionpolicy Unrestricted
Verify the result with
Get-ExecutionPolicy
see http://technet.microsoft.com/en-us/library/hh849812.aspx
and the complete method for GPO/domain as explained in the AD app documentation.
http://docs.splunk.com/Documentation/ActiveDirectory/1.2.2/DeployAD/EnableAuditingandPowerShellondom...