Quantcast
Channel: PowerShell
Viewing all articles
Browse latest Browse all 15370

Powershell Query to export security log user data from DC?

$
0
0

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?


Viewing all articles
Browse latest Browse all 15370

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>