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 Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...