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 version details should be retrievable

AD-SCH-04InfoActive DirectorySchema

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

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

Comprehensive schema information provides the foundation for understanding your Active Directory infrastructure. The schema defines:

  • Object classes: What types of objects can exist (users, computers, groups)
  • Attributes: What properties objects can have
  • Constraints: Rules for object creation and modification

Understanding schema details helps with:

  • Troubleshooting: Identifying schema-related issues
  • Planning: Preparing for application deployments
  • Documentation: Maintaining accurate AD documentation
  • Security: Detecting unauthorized schema modifications

Operational

Protect your schema with these practices:

  • Schema Admins group: Keep membership minimal and monitored
  • Change control: Require approval for all schema modifications
  • Documentation: Maintain records of all schema extensions
  • Backup: Regularly backup the schema NC (naming context)
  • Monitoring: Alert on any schema modifications

This test retrieves detailed information from the schema container including:

  • Schema version number
  • Corresponding Windows Server version
  • Schema creation and modification dates
  • Distribution of object classes
  • Total schema object count
  • Test-MtAdSchemaVersionEntryCount - Shows schema version number
  • Test-MtAdSchemaModificationYearCount - Shows modification timeline
  • Test-MtAdSchemaModificationYearDetails - Detailed modification breakdown
Every attribute of this check
FieldValue
Test IDAD-SCH-04
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureSchema
AreaInfrastructure hardening
Resource typeTenant
MITRE ATT&CKNone
PowerShell testTest-MtAdSchemaVersionDetails
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:Schema/*.objectVersion:ReadProperty