I have created a new version of this script so that it is better aligned with the conventions I use for other PowerShell scripts.
I have also created the PowaScripts project were I will publish PowerShell scripts that I use and that might be of public interest. Follows an example on how to invoke the cmdlet.
As with the previous version, the resulting XML file will contain all the rules and conditions making it easy to audit the AppLocker policy. Follows a example result file.
Hope it is useful :)