0

Referring filter worker processes list by User Name

I'm able to retrieve expected output in above URL but stuck while using/accepteula to accept EULA I'm getting below error message. Might be that's not correct way to accept EULA

enter image description here

Basically I'm executing script in PowerShell ISE

alroc
  • 27,574
  • 6
  • 51
  • 97
Sukhjeevan
  • 3,074
  • 9
  • 46
  • 89
  • Possible duplicate of [PsExec gets stuck on licence prompt when running non-interactively](https://stackoverflow.com/questions/5151034/psexec-gets-stuck-on-licence-prompt-when-running-non-interactively) – wp78de Apr 24 '18 at 02:14

1 Answers1

2

Command-line switches have to be used when calling the executable. They are bound to that application. Just entering /accepteula on the command line is an error because there's no context, nothing to accept the switch.

yourprogram.exe /accepteula
alroc
  • 27,574
  • 6
  • 51
  • 97
  • awesome @alroc it's worked out so in my case complete executable statement is C:\Utilities\procdump.exe /accepteula -n 3 -s 5 -c 85 -ma "C:\Utilities\output.dmp" – Sukhjeevan Apr 24 '18 at 02:07