How to Use PowerShell to export Criteria-based groups and filter

 The script list all Criteria-based groups and the filter

https://social.technet.microsoft.com/wiki/contents/articles/9648.criteria-based-group-filter-export.aspx