Jump to content

Recommended Posts

Posted

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

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
×
×
  • Create New...