Skip to content

Instantly share code, notes, and snippets.

View ZJPat's full-sized avatar

ZJP ZJPat

  • Washington, DC
View GitHub Profile
@michaeltlombardi
michaeltlombardi / Get-AppLockerEvent.ps1
Created December 2, 2015 14:51
Get-AppLockerEvent
Function Get-AppLockerEvent {
<#
.Synopsis
Retrieve AppLocker events from one or more computers.
.Description
Retrieve AppLocker events from one or more computers. AppLocker events can be queried by either EventType (a plain-english explanation of the general type of event) or EventID.
.Parameter ComputerName
The name of the computer whose eventlogs will be queried for AppLocker events. If no ComputerName is specified, the function will default to the localhost.