Adz1 Posted August 2, 2019 Posted August 2, 2019 Hello, I am very new to Autoit but would really appreciate it if someone could let me know if there is a way to run the below in Autoit? - I basically want to create something to output the last time (and details) of when a PC was shutdown. If I run the below in CMD I get the results I am after but was wondering whether it could be done in Autoit? wevtutil qe system "/q:*[System [(EventID=1074)]]" /rd:true /f:text /c:1 Thanks in advance
Danp2 Posted August 2, 2019 Posted August 2, 2019 Hi, Suggest that you use the forum's search feature. When I search on "wevtutil" I get lots of hits that appear to be relevant. HTH, Dan P.S. You may also want to check out the _EventLog_* functions in the help file Latest Webdriver UDF Release Webdriver Wiki FAQs
ViciousXUSMC Posted August 2, 2019 Posted August 2, 2019 At worst anything you can do in CMD can be "wrapped" in autoit to enhance the options for what you want to do with the data. Run, RunWait, @ComSpec, etc.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now