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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...