AppLocker Cmdlets in Windows PowerShell

Windows PowerShell® est un interpréteur en ligne de commande et un langage de script basé sur des tâches, conçu spécialement pour l’administration système. Cette rubrique de référence pour les informaticiens fournit une assistance sur l’utilisation des applets de commande Windows PowerShell pour écrire des scripts et automatiser des tâches.

AppLocker

The Windows PowerShell cmdlets for AppLocker are designed to streamline the administration of application control policies. The cmdlets can be used to help author, test, maintain, and troubleshoot application control policies and can be used in conjunction with the AppLocker user interface that is accessed through the Microsoft Management Console (MMC) snap-in extension to the Local Security Policy snap-in and Group Policy Management Console.

cmdlet Description

Get-AppLockerFileInformation

Gets the file information necessary to create AppLocker rules from a list of files or an event log.

Get-AppLockerPolicy

Gets the local, the effective, or a domain AppLocker policy.

New-AppLockerPolicy

Creates a new AppLocker policy from a list of file information and other rule creation options.

Set-AppLockerPolicy

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

Test-AppLockerPolicy

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

Notes

To list all the cmdlets that are available, use the Get-Command –Module AppLocker cmdlet.

Pour plus d’informations sur les applets de commande ou leur syntaxe, utilisez l’applet de commande Get-Help <nom de l’applet de commande>, où <nom de l’applet de commande> est le nom de l’applet de commande que vous voulez rechercher. Pour plus d’informations, vous pouvez exécuter les applets de commande suivantes :

Get-Help <nom de l’applet de commande> -Detailed
Get-Help <nom de l’applet de commande> -Examples
Get-Help <nom de l’applet de commande> -Full