Gmail can now import and export filters as XML. This script will read in an XML file generated by Gmail (the Path parameter), and create from it a flat PSObject with Id, Updated, Name and Value fields. Since it is flat, you must use the Id field to correlate the filter criteria and actions. As far as I can tell, the first item in a filter is the criterion, and any subsequent ones describe the action to take. More info about filter import/export can be found here.
TODO:
- script the actual export of filters from gmail, removing need for working with the file at all
- display in a treeview to better visualize the multiple items in each entry Out-GridView does this nicely
The script:

[...] Hal made a script to work with Gmail filters [...]