Skip to content
Sponsor
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

Schema modification year count should be retrievable

AD-SCH-01InfoActive DirectorySchema

Part of Active Directory · Active Directory · Schema · All checks

Run this check
Invoke-Maester -TestId AD-SCH-01

Understanding when your Active Directory schema has been modified provides important visibility into the evolution of your directory infrastructure. Schema modifications typically occur during:

  • Domain upgrades: When upgrading to newer Windows Server versions
  • Application installations: Products like Exchange, Skype for Business, and third-party applications extend the schema
  • Custom developments: Organizations may add custom attributes or classes

Tracking schema modification years helps:

  • Audit trail: Understand when major changes occurred
  • Compliance: Document directory evolution for compliance purposes
  • Troubleshooting: Correlate issues with schema change timeframes
  • Planning: Identify when the directory was last updated

Operational

While schema modifications are normal and necessary, they should be:

  • Documented: All schema changes should be recorded with business justification
  • Planned: Schema changes should go through change control processes
  • Tested: Schema extensions should be tested in a lab environment first
  • Authorized: Only privileged administrators should have schema admin rights

This test retrieves all schema objects and analyzes their creation dates to identify:

  • How many different years have had schema modifications
  • The total number of schema objects
  • The first and most recent schema changes
  • Test-MtAdSchemaModificationYearDetails - Provides detailed breakdown by year
  • Test-MtAdSchemaVersionEntryCount - Shows the current schema version
  • Test-MtAdSchemaVersionDetails - Provides comprehensive schema information
Every attribute of this check
FieldValue
Test IDAD-SCH-01
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureSchema
AreaInfrastructure hardening
Resource typeTenant
MITRE ATT&CKNone
PowerShell testTest-MtAdSchemaModificationYearCount
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:Schema/*:ReadProperty