Listing System Center Configuration Manager Inbox Folders with Powershell

It is a good idea to keep track of these folders as they can get out of control quite quickly. This powershell command quickly highlights if you have any build up going on. Look out for large numbers of files:

Get-ChildItem “c:\Program Files\Microsoft Configuration Manager\inboxes” -recurse | Where {!$_.PSIsContainer} | Group Directory | Format-Table Name, Count -autosize


Written on February 9, 2010