Hi

I'm trying to execute the following powershell script through an "Action" - but it does not seem to Work. "Invoke-Command -computername SERVER1 {Stop-Process -processname "NOTEPAD" -Force}"

I tried executing it directly from a Shell on the PA server - and that worked like a charm.

What am I missing?

Kind regards Karsten

asked 21 Sep '15, 04:50

KMStolten's gravatar image

KMStolten
91912
accept rate: 0%


You need to enable powershell remoting to do that:

http://www.itsupportforum.net/topic/how-to-enable-powershell-remoting/

link

answered 23 Feb '16, 21:03

Lewyh's gravatar image

Lewyh
111
accept rate: 0%

Your answer
[hide preview]

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×10
×10
×5

Asked: 21 Sep '15, 04:50

Seen: 16,761 times

Last updated: 23 Feb '16, 21:03

First time here? Check out the FAQ!

×