This kinda surprised me. I tried to do this and it failed:
Thinking I had a problem with my syntax (the usual suspect) I changed the attribute from Filter to DisplayName and the query succeeded. It wasn’t the query that I wanted, but it demonstrated that my syntax was correct. I guess this means you can’t make this query in FIM. This was a bit annoying, but there is a simple workaround.
The workaround is to just export ALL the Set objects, then use the PowerShell Where-Object cmdlet to do the filter. Way more expensive, but who cares? I’m not doing this all that often and I take slight pleasure in punishing the service for not accepting my leaner query to start with.
Here is the workaround script:
NOTE: find the Convert-FimExportToPSObject here.