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?