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

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name ADOpsKit

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name ADOpsKit

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

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

Desktop Core

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

Version History

Version Downloads Last updated
1.6.0 (current version) 12 11/28/2026
1.5.2 99 8/23/2026