Tip: Use Windows PowerShell to Manage AppLocker in Windows 7
Windows PowerShell 2.0 includes the following cmdlets to enable you to create scripts that examine, create, and manage AppLocker:
Follow Our Daily Tips
Tell Us Your Tips
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.
Looking for More Tips?
For more tips on Windows 7 and other Microsoft technologies, visit the TechNet Magazine Tips library.