Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 3.0 » Test-AppLockerPolicy

Test-AppLockerPolicy - Powershell 3.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Test-AppLockerPolicy

Short description
Specifies the AppLocker policy to determine whether the input files will be allowed to run for a given user.

Syntax
Test-AppLockerPolicy [-XmlPolicy] <String> [-Filter <List<PolicyDecision>>] [-User <String>] -Path <List<String>> [<Com
monParameters>]
Test-AppLockerPolicy [-XmlPolicy] <String> [-Filter <List<PolicyDecision>>] [-User <String>] -Packages <List<AppxPackag
e>> [<CommonParameters>]
Test-AppLockerPolicy [-PolicyObject] <AppLockerPolicy> [-Filter <List<PolicyDecision>>] [-User <String>] -Path <List<St
ring>> [<CommonParameters>]





Description
The Test-AppLockerPolicy cmdlet specifies the AppLocker policy to determine whether a list of files is allowed to run o
n the local computer for a specified user.


To test AppLocker rules for a nested group, a representative member of the nested group should be specified for the Use
r parameter. For example, a rule that allows the Everyone group to run calc.exe may not appear to apply correctly when 
the nested Finance group for the User parameter is specified. Instead, a representative member of the Finance group sho
uld be specified for the User parameter.