ADOpsKit
1.6.0
Active Directory and Entra ID operations toolkit - inventory, health checks, audit reports, and replication topology diagrams. No ADWS dependency for core functions; uses LDAP and repadmin.
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
(c) 2026 K Shankar R Karanth. All rights reserved.
Package Details
Author(s)
- K Shankar R Karanth
Tags
ActiveDirectory AD EntraID AzureAD GPO Replication HealthCheck Audit Inventory DomainController LDAP HTML Report repadmin
Functions
Get-AccountLockoutReport Get-InsecureLDAPBinds Enable-DCPerformanceBaseline Get-ADForestHealth Test-DCPortHealth Get-ADArchitectureAssessment Get-ADReplicationTopologyDiagram Get-GPOInventoryWithSettings Get-EntraConnectSyncStatus Register-ADOpsKitScheduledTasks Test-ADDCDiagHealth Register-ADDCDiagHealthMonitor Invoke-ADRealtimeHeartbeat Get-DCDecommissionReadiness
PSEditions
Dependencies
This module has no dependencies.
Release Notes
v1.6.0 - Fixes a 1.5.1/1.5.2 regression and adds PowerShell 7 support. (1) 1.5.1 changed New-Item calls to -LiteralPath, which is not a New-Item parameter, so 13 of 14 functions failed on Windows PowerShell 5.1 and PowerShell 7 whenever their output folder did not already exist; all now use -Path (New-Item does not expand wildcards). (2) Every function now runs on PowerShell 7: Get-WmiObject, [WMIClass] and Get-Service -ComputerName were replaced with CIM over an explicit DCOM session (still no WinRM); GroupPolicy and ADSync calls run inside the Windows PowerShell compatibility session so nested values are no longer blank; Get-ADArchitectureAssessment no longer halts on an empty section. (3) Further fixes: Get-ADForestHealth Replication column now runs dcdiag /test:Replications and shows Failed when replication fails; Get-EntraConnectSyncStatus reports each connector's latest run result; Get-ADArchitectureAssessment GPO version columns were always blank; Test-DCPortHealth no longer reports all ports open when no DC was found. CI now runs PSScriptAnalyzer compatibility rules for 5.1 and 7, plus Pester tests that execute functions with mocked AD. See CHANGELOG.md.
FileList
- ADOpsKit.nuspec
- ADOpsKit.psd1
- ADOpsKit.psm1
- Private\Helpers.ps1
- Public\Enable-DCPerformanceBaseline.ps1
- Public\Get-ADArchitectureAssessment.ps1
- Public\Get-ADForestHealth.ps1
- Public\Get-ADReplicationTopologyDiagram.ps1
- Public\Get-AccountLockoutReport.ps1
- Public\Get-DCDecommissionReadiness.ps1
- Public\Get-EntraConnectSyncStatus.ps1
- Public\Get-GPOInventoryWithSettings.ps1
- Public\Get-InsecureLDAPBinds.ps1
- Public\Invoke-ADRealtimeHeartbeat.ps1
- Public\Register-ADDCDiagHealthMonitor.ps1
- Public\Register-ADOpsKitScheduledTasks.ps1
- Public\Test-ADDCDiagHealth.ps1
- Public\Test-DCPortHealth.ps1
- en-US\about_ADOpsKit.help.txt
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 1.6.0 (current version) | 12 | 11/28/2026 |
| 1.5.2 | 99 | 8/23/2026 |