Contact Info

Crumbtrail

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

Set-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 »

Set-AppLockerPolicy

Short description
Sets the AppLocker policy for the specified Group Policy Object (GPO).

Syntax
Set-AppLockerPolicy [-XmlPolicy] <String> [-Ldap <String>] [-Merge [<SwitchParameter>]] [-Confirm [<SwitchParameter>]] 
[-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Set-AppLockerPolicy [-PolicyObject] <AppLockerPolicy> [-Ldap <String>] [-Merge [<SwitchParameter>]] [-Confirm [<SwitchP
arameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]





Description
The Set-AppLockerPolicy cmdlet sets the specified GPO to contain the specified AppLocker policy. If no Lightweight Dire
ctory Access Protocol (LDAP) is specified, then the default is the local GPO.


The input values for the AppLocker policy can be an AppLockerPolicy object or an XML-formatted file containing the AppL
ocker policy.