Jump to content

Recommended Posts

Posted

Can anyone help me correctly format the following command line? All of my attempts have proven fruitless.

wevtutil qe Application /q:"*[System[Provider[@Name='EMET']]]" /rd:true /c:1 /f:text > c:\EMET.log

Here is what I've tried:

Local $Result = RunWait(@ComSpec & " /c wevtutil.exe qe Application /rd:true /c:1 /q:*[System[Provider[@Name=EMET]]] /f:text > " & $LogFile, @SystemDir, @SW_SHOW)

Local $Result = RunWait(@ComSpec & ' /c wevtutil.exe qe Application / q:" *[System[Provider[@Name = "EMET"]]]" / rd:true / c:1 / f:text > ' & $LogFile, @SystemDir, @SW_HIDE)

Local $Result = RunWait(@ComSpec & " /c wevtutil.exe qe Application / q:"*[System[Provider[@Name='EMET']]]" / rd:true / c:1 / f:text > " & $LogFile, @SystemDir, @SW_HIDE)

Thanks for any suggestions,

-Mike

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...