Sys-Admin Blog
Wednesday, 30 April 2014
Simple powershell robocopy log analyser
Select-String -path "\\server\share\logfile.log" -pattern "Access Is Denied" -allm
atches -simplematch -context 1 | out-file '\\server\share\errors.log'
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment