teky Posted March 22, 2012 Posted March 22, 2012 Hi guys, I'm in the process of creating a powershell script that will log all the errors logged in the application and system sections of the event log over the past day to a text file. I've got most of the script sorted but I want to filter out specific event ID's that I don't want showing in the log, how can I do this?
teky Posted March 22, 2012 Author Posted March 22, 2012 thanks, got me on the right track. Have this piped in now "Where{$eid -notcontains $_.eventid}", expressing $eid earlier in the script
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