Getting Data In

How to allow powershell scripts on windows server

yannK
Splunk Employee
Splunk Employee

I have several apps using powershell inputs and scripts. By default in Windows, they are not authorized to run.
How to change it ?

Tags (2)
1 Solution

yannK
Splunk Employee
Splunk Employee

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

View solution in original post

yannK
Splunk Employee
Splunk Employee

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

yannK
Splunk Employee
Splunk Employee

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...

0 Karma
Get Updates on the Splunk Community!

Exciting News: The AppDynamics Community Joins Splunk!

Hello Splunkers,   I’d like to introduce myself—I’m Ryan, the former AppDynamics Community Manager, and I’m ...

The All New Performance Insights for Splunk

Splunk gives you amazing tools to analyze system data and make business-critical decisions, react to issues, ...

Good Sourcetype Naming

When it comes to getting data in, one of the earliest decisions made is what to use as a sourcetype. Often, ...