I'm preparing a script to parse looking for information from DC Diag and eventlogs on a Windows 2008 R2 server.
My question is this how can I via command line search for events in the eventlogs (e.g. EventIDs) and what is the path to dcdiag? I can see that I can just run it via the command line without a path, but if I want to script it I need a path.
any help would be appreaciated.