0

I want to run the PowerShell script through ossec in which I want to used Set-Acl command which required administrator privileges. So I want this script run as a administrator programatically. I used this tag:

Start-Process PowerShell -Verb RunAs

but it asks for user response. so is there another solution to solve this problem?

Ansgar Wiechers
  • 193,178
  • 25
  • 254
  • 328
Akshay
  • 1
  • 1
  • 2

0 Answers0