CmdID / PowerShell / Cmdlets / New
New-AppLockerPolicy
Creates a new AppLocker policy from a list of file information and other rule creation options. Windows Server PowerShell reference
From the Windows Server PowerShell reference 9 parameters Its page in the reference
Parameters
-AllowWindowsIndicates that the AppLocker policy allows all local Windows components.-FileInformationSpecifies a file that can contain publisher, path, and hash information.-IgnoreMissingFileInformationSpecifies that, if a rule cannot be created for a file because of missing file information, then evaluation of the remaining file information will continue and a warning log of the files skipped will…-OptimizeSpecifies that similar rules will be grouped together.-RuleNamePrefixSpecifies a name to add as the prefix for each rule that is created.-RuleTypeSpecifies the type of rules to create from the file information.-ServiceEnforcementSpecifies whether the AppLocker policy for EXE and DLL rule collections applies to non-interactive processes.-UserSpecifies the user or group to which the rules are applied.-XmlSpecifies that the output of the AppLocker policy be as an XML-formatted string.