Viewing ConfigMgr logs via PowerShell

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

UPDATE: 23.05.15- Jeff has released an updated version of the function: jpscripter/LogParsing (github.com)

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”

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.