Following script can be used to pull the report which has all the errors reported from start date to end date.
get-vievent -MaxSamples 3 -Start 03/01/2013 -Finish 04/03/2013 -Types error | Select CreatedTime , UserName , FullFormattedMessage | Export-Csv c:\Temp\error.csv
get-vievent -MaxSamples 3 -Start 03/01/2013 -Finish 04/03/2013 -Types error | Select CreatedTime , UserName , FullFormattedMessage | Export-Csv c:\Temp\error.csv
No comments:
Post a Comment