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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...