Link to home
Start Free TrialLog in
Avatar of ojfahoum
ojfahoum

asked on

Clearing Event Logs with WBEM WMI object

What permissions and user rights are required.  I'm getting SWbemObject: Access denied messages while running a script with an admin account. The line in question is

objWMIService.ClearEventLog()
ASKER CERTIFIED SOLUTION
Avatar of Droby10
Droby10

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial