Hi All,
Please note I'm a PS noob. I need to query a user's log on, log off and failed attempts from the last 7 days. Filtering the log isn't working as its huge (something else I'm working on fixing) and sometimes crashing. So when it doesn't crash it's painstakingly slow to ctrl+F my way through.
Something along the lines of:
Query Security Log - selected username - Audit success+ failures - for last 7 days - export info to txt or csv.
Does anyone have a helpful insight in how to get powershell to pull the data I need?