FIM ScriptBox Item
Summary
Troubleshooting FIM Query issues can be difficult because of the large number of items output to trace when FIM tracing is turned up. As easy way to filter them out is to use the Get-EventLog cmdlet with a Where-Object clause to dig out the items where the Message starts with 'Enumerate'. This could also be done with the Event Log Viewer and filters, but I find it faster to use this one-liner to quickly find the issue.
Script Code