Skip to content

Instantly share code, notes, and snippets.

View ZJPat's full-sized avatar

ZJP ZJPat

  • Washington, DC
View GitHub Profile
@laymanstake
laymanstake / Start-ADAssessment.ps1
Last active March 26, 2025 09:53
The script to perform AD assessment including ADFS, ADSync checks
#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
@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.