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!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...