Do you connect to remote machines via PowerShell frequently and view CM Logs... it's ugly... so with the help of my friend Jeff Scripter, I've made it less ugly.
TLDR.. Nice Script to create functions on GitHub
It will automatically populate a list from the c:\windows\ccm\logs folder, and you can start typing to narrow the list.
You can pick the log, and then I typically use -Tail to just grab the last part of the log.
So that's it.... basically just a couple more functions of the many custom ones I use frequently.
POSTED ON GARYTOWN.COM
1 thought on “Viewing ConfigMgr logs via PowerShell”
awesome! now if you could just highlight a line containing things like "missing" or "the action", we would be golden!