CmdID / PowerShell / Cmdlets / Test
Test-AppLockerPolicy
Specifies the AppLocker policy to determine whether the input files will be allowed to run for a given user. Windows Server PowerShell reference
From the Windows Server PowerShell reference 6 parameters Its page in the reference
Parameters
-FilterSpecifies the policy decision by which to filter the output for each input file.-PackagesSpecifies a list of installed packaged applications, from which the file information is retrieved.-PathSpecifies the list of the file paths to test.-PolicyObjectSpecifies the Applocker policy.-UserDefines the user or group to be used for testing the rules in a specified AppLocker policy.-XmlPolicySpecifies the file path and name of the XML-formatted file that contains the AppLocker policy.