Nick Computer Services

Computer & Services => Technical & Tutorial => Topic started by: Nick on June 11, 2010, 06:56:51 PM

Title: Use Windows PowerShell to Manage AppLocker in Windows 7
Post by: Nick on June 11, 2010, 06:56:51 PM
Use Windows PowerShell to Manage AppLocker in Windows 7

Discover how you can use Windows PowerShell to examine and manage the new AppLocker feature in Windows 7.


Windows PowerShell 2.0 includes the following cmdlets to enable you to create scripts that examine, create, and manage AppLocker:

Get-AppLockerFileInformation Examines an executable or script and returns the information AppLocker might use to determine whether the application can run, including the file hash, file path, and publisher (for signed files).
Get-AppLockerPolicy Examines either the effective AppLocker policy or the AppLocker policy from a GPO.
New-AppLockerPolicy Creates a new AppLocker policy.
Set-AppLockerPolicy After you create an AppLocker policy, use this cmdlet to define it for a GPO.
Test-AppLockerPolicy Determines whether specified files will be allowed to run for a specific user and AppLocker policy.

For more information, open a Windows PowerShell prompt and run the command help.


From the Microsoft Press book Windows 7 Resource Kit by Mitch Tulloch, Tony Northrup, Jerry Honeycutt, Ed Wilson, and the Windows 7 team.

credit: technet.microsoft.com