This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Requires -Version 3.0 | |
#Requires -Modules ActiveDirectory, GroupPolicy, DnsServer | |
<# | |
Author : Nitish Kumar | |
Performs Active Directory Forest Assessment | |
version 1.0 | 06/06/2023 Initial version | |
version 1.1 | 15/06/2023 Covered most areas though error proofing and dependency over wsman still remains | |
version 1.2 | 16/06/2023 Number of small fixes included wrong calulations on empty groups | |
version 1.3 | 21/06/2023 PowerShell jobs for AD health checks and Domain Summary details, Also chosing least latency DC |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |