Skip to content

Clean up of AD tests to provide more clarity and value - #2313

Open
soulemike wants to merge 14 commits into
maester365:mainfrom
soulemike:06-ad-test-operational-value
Open

soulemike wants to merge 14 commits into
maester365:mainfrom
soulemike:06-ad-test-operational-value

Conversation

@soulemike

Copy link
Copy Markdown
Contributor

📑 Description

This has multiple fixes to tests from the findings of #2282, #2291, and #2294

Deliverable Count Status
Silent-pass bug fixed in test wrappers 270 files ✅ Done
Hardcoded-$true functions audited & categorized 92 functions ✅ Done
— Converted to Investigate (Operational) 78 ✅ Done
— Converted to Threshold (Preventive/Detective) 21 ✅ Done
Missing companion .md files created 28 files ✅ Done
Empty-table detail tests fixed 34 files ✅ Done
Control Type classifications added 274 .md files ✅ Done
tests/maester-config.json Severities updated 99 entries ✅ Done

✅ Checks

  • My pull request adheres to the code style of this project.
  • My code requires changes to the documentation.
  • I have updated the documentation as required.
  • The build and unit tests pass after running /powershell/tests/pester.ps1 locally.

@soulemike
soulemike requested a review from a team as a code owner October 3, 2026 12:52
@coderabbitai

coderabbitai Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Too many files!

This PR contains 650 files, which is 500 over the limit of 150.

To get a review, reduce the PR to 150 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

Usage-priced reviews support at most 300 files.

⚙️ Run configuration
  • Configuration used: Repository: maester365/maester/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: fdaa6d04-4c49-45b0-b963-5a2707a37963
📥 Commits

Reviewing files that changed from the base of the PR and between 0f442a6 and 3e96751.

📒 Files selected for processing (650)
  • build/activeDirectory/azure-lab/README.md
  • build/activeDirectory/azure-lab/Run-LabADTests.ps1
  • build/activeDirectory/azure-lab/Run-LabADTests.sh
  • powershell/public/ad/computer/Test-MtAdComputerCreatorSidCount.md
  • powershell/public/ad/computer/Test-MtAdComputerDelegationCount.md
  • powershell/public/ad/computer/Test-MtAdComputerDelegationDetails.md
  • powershell/public/ad/computer/Test-MtAdComputerDelegationDetails.ps1
  • powershell/public/ad/computer/Test-MtAdComputerDisabledCount.md
  • powershell/public/ad/computer/Test-MtAdComputerDormantCount.md
  • powershell/public/ad/computer/Test-MtAdComputerInDefaultContainer.md
  • powershell/public/ad/computer/Test-MtAdComputerNonStandardGroup.md
  • powershell/public/ad/computer/Test-MtAdComputerOUCount.md
  • powershell/public/ad/computer/Test-MtAdComputerPerOUAverage.md
  • powershell/public/ad/computer/Test-MtAdComputerSidHistoryCount.md
  • powershell/public/ad/config/Test-MtAdAdActivationObjectsCount.md
  • powershell/public/ad/config/Test-MtAdAuthNPolicyConfigCount.md
  • powershell/public/ad/config/Test-MtAdCertificateTemplatesCount.md
  • powershell/public/ad/config/Test-MtAdCrlDistributionPointsCount.md
  • powershell/public/ad/config/Test-MtAdDefaultQueryPolicy.md
  • powershell/public/ad/config/Test-MtAdDsHeuristicsCount.md
  • powershell/public/ad/config/Test-MtAdEnrollmentCaCertificateDetails.md
  • powershell/public/ad/config/Test-MtAdEnrollmentCaCertificateDetails.ps1
  • powershell/public/ad/config/Test-MtAdEnrollmentTemplatesCount.md
  • powershell/public/ad/config/Test-MtAdEnterpriseCaCount.md
  • powershell/public/ad/config/Test-MtAdIntermediateCaCount.md
  • powershell/public/ad/config/Test-MtAdIntermediateCaDetails.md
  • powershell/public/ad/config/Test-MtAdIpSiteLinksCount.md
  • powershell/public/ad/config/Test-MtAdKdsRootKeysCount.md
  • powershell/public/ad/config/Test-MtAdLdapQueryPolicyCount.md
  • powershell/public/ad/config/Test-MtAdNtAuthCertificatesCount.md
  • powershell/public/ad/config/Test-MtAdOptionalFeaturesCount.md
  • powershell/public/ad/config/Test-MtAdRecycleBinEnabledPaths.md
  • powershell/public/ad/config/Test-MtAdRegisteredDhcpServersCount.md
  • powershell/public/ad/config/Test-MtAdSmtpSiteLinksCount.md
  • powershell/public/ad/config/Test-MtAdSpnMappings.md
  • powershell/public/ad/config/Test-MtAdTombstoneLifetimeConfig.md
  • powershell/public/ad/config/Test-MtAdTrustedRootCaCount.md
  • powershell/public/ad/config/Test-MtAdTrustedRootCaDetails.md
  • powershell/public/ad/config/Test-MtAdWellKnownSecurityPrincipalsCount.md
  • powershell/public/ad/dacl/Test-MtAdDaclConflictObjectCount.md
  • powershell/public/ad/dacl/Test-MtAdDaclConflictObjectCount.ps1
  • powershell/public/ad/dacl/Test-MtAdDaclConflictObjectDetails.md
  • powershell/public/ad/dacl/Test-MtAdDaclConflictObjectDetails.ps1
  • powershell/public/ad/dacl/Test-MtAdDaclDenyAceCount.md
  • powershell/public/ad/dacl/Test-MtAdDaclDenyAceCount.ps1
  • powershell/public/ad/dacl/Test-MtAdDaclDenyAceDetails.md
  • powershell/public/ad/dacl/Test-MtAdDaclDenyAceDetails.ps1
  • powershell/public/ad/dacl/Test-MtAdDaclDistinctIdentityCount.md
  • powershell/public/ad/dacl/Test-MtAdDaclDistinctIdentityCount.ps1
  • powershell/public/ad/dacl/Test-MtAdDaclDistinctObjectCount.md
  • powershell/public/ad/dacl/Test-MtAdDaclDistinctObjectCount.ps1
  • powershell/public/ad/dacl/Test-MtAdDaclIdentityAceDistribution.md
  • powershell/public/ad/dacl/Test-MtAdDaclIdentityAceDistribution.ps1
  • powershell/public/ad/dacl/Test-MtAdDaclInheritedObjectTypeCount.md
  • powershell/public/ad/dacl/Test-MtAdDaclInheritedObjectTypeCount.ps1
  • powershell/public/ad/dacl/Test-MtAdDaclInheritedObjectTypeDetails.md
  • powershell/public/ad/dacl/Test-MtAdDaclInheritedObjectTypeDetails.ps1
  • powershell/public/ad/dacl/Test-MtAdDaclNonInheritedAceCount.md
  • powershell/public/ad/dacl/Test-MtAdDaclNonInheritedAceCount.ps1
  • powershell/public/ad/dacl/Test-MtAdDaclOuObjectCount.md
  • powershell/public/ad/dacl/Test-MtAdDaclOuObjectCount.ps1
  • powershell/public/ad/dacl/Test-MtAdDaclPrivilegedAllowAceCount.md
  • powershell/public/ad/dacl/Test-MtAdDaclPrivilegedAllowAceCount.ps1
  • powershell/public/ad/dacl/Test-MtAdDaclPrivilegedAllowAceDetails.md
  • powershell/public/ad/dacl/Test-MtAdDaclPrivilegedAllowAceDetails.ps1
  • powershell/public/ad/dacl/Test-MtAdDaclPrivilegedExtendedRightCount.md
  • powershell/public/ad/dacl/Test-MtAdDaclPrivilegedExtendedRightCount.ps1
  • powershell/public/ad/dacl/Test-MtAdDaclPrivilegedExtendedRightDetails.md
  • powershell/public/ad/dacl/Test-MtAdDaclPrivilegedExtendedRightDetails.ps1
  • powershell/public/ad/dacl/Test-MtAdDaclPrivilegedExtendedRightIdentity.md
  • powershell/public/ad/dacl/Test-MtAdDaclPrivilegedExtendedRightIdentity.ps1
  • powershell/public/ad/dacl/Test-MtAdDaclUnresolvedSidCount.md
  • powershell/public/ad/dacl/Test-MtAdDaclUnresolvedSidCount.ps1
  • powershell/public/ad/dacl/Test-MtAdDaclUnresolvedSidDetails.md
  • powershell/public/ad/dacl/Test-MtAdDaclUnresolvedSidDetails.ps1
  • powershell/public/ad/dns/Test-MtAdDnsAdSrvRecordCount.md
  • powershell/public/ad/dns/Test-MtAdDnsAdSrvRecordDetails.md
  • powershell/public/ad/dns/Test-MtAdDnsAdSrvRecordDetails.ps1
  • powershell/public/ad/dns/Test-MtAdDnsDnssecRecordCount.md
  • powershell/public/ad/dns/Test-MtAdDnsDuplicateZoneCount.md
  • powershell/public/ad/dns/Test-MtAdDnsDynamicRecordCount.md
  • powershell/public/ad/dns/Test-MtAdDnsEmptyZoneCount.md
  • powershell/public/ad/dns/Test-MtAdDnsNonStandardZoneCount.md
  • powershell/public/ad/dns/Test-MtAdDnsReverseZoneCount.md
  • powershell/public/ad/dns/Test-MtAdDnsReverseZoneNetworkCount.md
  • powershell/public/ad/dns/Test-MtAdDnsReverseZoneNetworkDetails.md
  • powershell/public/ad/dns/Test-MtAdDnsRootServerIncorrectCount.md
  • powershell/public/ad/dns/Test-MtAdDnsRootServerIncorrectDetails.md
  • powershell/public/ad/dns/Test-MtAdDnsRootServerIncorrectDetails.ps1
  • powershell/public/ad/dns/Test-MtAdDnsSoaDetails.md
  • powershell/public/ad/dns/Test-MtAdDnsSoaDetails.ps1
  • powershell/public/ad/dns/Test-MtAdDnsZoneCount.md
  • powershell/public/ad/dns/Test-MtAdDnsZoneDelegationCount.md
  • powershell/public/ad/dns/Test-MtAdDnsZoneDelegationDetails.md
  • powershell/public/ad/dns/Test-MtAdDnsZoneDelegationDetails.ps1
  • powershell/public/ad/dns/Test-MtAdDnsZoneRecordDetails.md
  • powershell/public/ad/dns/Test-MtAdDnsZoneRecordDetails.ps1
  • powershell/public/ad/dns/Test-MtAdDnsZonesWithOnlySoaNs.md
  • powershell/public/ad/dns/Test-MtAdDnsZonesWithRecordsCount.md
  • powershell/public/ad/domain/Test-MtAdAllowedDnsSuffixesCount.md
  • powershell/public/ad/domain/Test-MtAdCrossForestReferencesCount.md
  • powershell/public/ad/domain/Test-MtAdDomainControllerCount.md
  • powershell/public/ad/domain/Test-MtAdDomainFunctionalLevel.md
  • powershell/public/ad/domain/Test-MtAdDomainNameNonStandardDetails.md
  • powershell/public/ad/domain/Test-MtAdDomainNameStandardCompliance.md
  • powershell/public/ad/domain/Test-MtAdForestDomainCount.md
  • powershell/public/ad/domain/Test-MtAdForestFunctionalLevel.md
  • powershell/public/ad/domain/Test-MtAdMachineAccountQuota.md
  • powershell/public/ad/domain/Test-MtAdNetbiosNameNonStandardDetails.md
  • powershell/public/ad/domain/Test-MtAdNetbiosNameNonStandardDetails.ps1
  • powershell/public/ad/domain/Test-MtAdNetbiosNameStandardCompliance.md
  • powershell/public/ad/domain/Test-MtAdRecycleBinStatus.md
  • powershell/public/ad/domain/Test-MtAdRidsRemaining.md
  • powershell/public/ad/domain/Test-MtAdSpnSuffixesCount.md
  • powershell/public/ad/domain/Test-MtAdTombstoneLifetime.md
  • powershell/public/ad/domain/Test-MtAdUpnSuffixesCount.md
  • powershell/public/ad/domain/Test-MtAdUpnSuffixesDetails.md
  • powershell/public/ad/domaincontroller/Test-MtAdDcAllFsmoRolesCount.md
  • powershell/public/ad/domaincontroller/Test-MtAdDcFsmoRoleHolderDetails.md
  • powershell/public/ad/domaincontroller/Test-MtAdDcFsmoRoleHolderDetails.ps1
  • powershell/public/ad/domaincontroller/Test-MtAdDcNonGlobalCatalogCount.md
  • powershell/public/ad/domaincontroller/Test-MtAdDcNonStandardLdapPortCount.md
  • powershell/public/ad/domaincontroller/Test-MtAdDcNonStandardLdapsPortCount.md
  • powershell/public/ad/domaincontroller/Test-MtAdDcOperatingSystemCount.md
  • powershell/public/ad/domaincontroller/Test-MtAdDcOperatingSystemDetails.md
  • powershell/public/ad/domaincontroller/Test-MtAdDcOperatingSystemDetails.ps1
  • powershell/public/ad/domaincontroller/Test-MtAdDcReadOnlyCount.md
  • powershell/public/ad/domaincontroller/Test-MtAdDcSiteCoverageCount.md
  • powershell/public/ad/domaincontroller/Test-MtAdDcSmbSigningEnabledCount.md
  • powershell/public/ad/domaincontroller/Test-MtAdDcSmbv1EnabledCount.md
  • powershell/public/ad/domaincontroller/Test-MtAdDcSmbv311EnabledCount.md
  • powershell/public/ad/gpo/Test-MtAdGpoBlockedInheritanceCount.md
  • powershell/public/ad/gpo/Test-MtAdGpoChangedBefore2020Count.md
  • powershell/public/ad/gpo/Test-MtAdGpoChangedBefore2020Count.ps1
  • powershell/public/ad/gpo/Test-MtAdGpoCreatedBefore2020Count.md
  • powershell/public/ad/gpo/Test-MtAdGpoDisabledLinkCount.md
  • powershell/public/ad/gpo/Test-MtAdGpoEnforcedCount.md
  • powershell/public/ad/gpo/Test-MtAdGpoLinkedCount.md
  • powershell/public/ad/gpo/Test-MtAdGpoLinkedCount.ps1
  • powershell/public/ad/gpo/Test-MtAdGpoLinkedOUCount.md
  • powershell/public/ad/gpo/Test-MtAdGpoTotalCount.md
  • powershell/public/ad/gpo/Test-MtAdGpoUnlinkedCount.md
  • powershell/public/ad/gpo/Test-MtAdGpoUnlinkedDetails.md
  • powershell/public/ad/gpo/Test-MtAdGpoUnlinkedDetails.ps1
  • powershell/public/ad/gpo/Test-MtAdGpoUnlinkedTargetCount.md
  • powershell/public/ad/gpostate/Test-MtAdGpoAllSettingsDisabledDetails.md
  • powershell/public/ad/gpostate/Test-MtAdGpoAllSettingsDisabledDetails.ps1
  • powershell/public/ad/gpostate/Test-MtAdGpoComputerSettingsDisabledDetails.md
  • powershell/public/ad/gpostate/Test-MtAdGpoComputerSettingsDisabledDetails.ps1
  • powershell/public/ad/gpostate/Test-MtAdGpoCpasswordFoundCount.md
  • powershell/public/ad/gpostate/Test-MtAdGpoCpasswordFoundCount.ps1
  • powershell/public/ad/gpostate/Test-MtAdGpoCpasswordFoundDetails.md
  • powershell/public/ad/gpostate/Test-MtAdGpoCpasswordFoundDetails.ps1
  • powershell/public/ad/gpostate/Test-MtAdGpoDefaultPasswordFoundCount.md
  • powershell/public/ad/gpostate/Test-MtAdGpoDefaultPasswordFoundCount.ps1
  • powershell/public/ad/gpostate/Test-MtAdGpoDefaultPasswordFoundDetails.md
  • powershell/public/ad/gpostate/Test-MtAdGpoDefaultPasswordFoundDetails.ps1
  • powershell/public/ad/gpostate/Test-MtAdGpoDenyAceCount.md
  • powershell/public/ad/gpostate/Test-MtAdGpoDenyAceDetails.md
  • powershell/public/ad/gpostate/Test-MtAdGpoDisabledLinkDetails.md
  • powershell/public/ad/gpostate/Test-MtAdGpoDisabledLinkDetails.ps1
  • powershell/public/ad/gpostate/Test-MtAdGpoEnforcementCount.md
  • powershell/public/ad/gpostate/Test-MtAdGpoEnforcementCount.ps1
  • powershell/public/ad/gpostate/Test-MtAdGpoInheritedPermissionsCount.md
  • powershell/public/ad/gpostate/Test-MtAdGpoNoApplyGroupPolicyAceCount.md
  • powershell/public/ad/gpostate/Test-MtAdGpoNoApplyGroupPolicyAceCount.ps1
  • powershell/public/ad/gpostate/Test-MtAdGpoNoApplyGroupPolicyAceDetails.md
  • powershell/public/ad/gpostate/Test-MtAdGpoNoApplyGroupPolicyAceDetails.ps1
  • powershell/public/ad/gpostate/Test-MtAdGpoNoAuthenticatedUsersCount.md
  • powershell/public/ad/gpostate/Test-MtAdGpoNoAuthenticatedUsersDetails.md
  • powershell/public/ad/gpostate/Test-MtAdGpoNoDomainComputersCount.md
  • powershell/public/ad/gpostate/Test-MtAdGpoNoEnterpriseDcCount.md
  • powershell/public/ad/gpostate/Test-MtAdGpoNoPermissionsCount.md
  • powershell/public/ad/gpostate/Test-MtAdGpoNoPermissionsDetails.md
  • powershell/public/ad/gpostate/Test-MtAdGpoOwnerDetails.md
  • powershell/public/ad/gpostate/Test-MtAdGpoOwnerDetails.ps1
  • powershell/public/ad/gpostate/Test-MtAdGpoOwnerDistinctCount.md
  • powershell/public/ad/gpostate/Test-MtAdGpoOwnerDistinctCount.ps1
  • powershell/public/ad/gpostate/Test-MtAdGpoSettingsDisabledCount.md
  • powershell/public/ad/gpostate/Test-MtAdGpoSettingsDisabledCount.ps1
  • powershell/public/ad/gpostate/Test-MtAdGpoStateTotalCount.md
  • powershell/public/ad/gpostate/Test-MtAdGpoStateTotalCount.ps1
  • powershell/public/ad/gpostate/Test-MtAdGpoUserSettingsDisabledDetails.md
  • powershell/public/ad/gpostate/Test-MtAdGpoUserSettingsDisabledDetails.ps1
  • powershell/public/ad/gpostate/Test-MtAdGpoVersionMismatchCount.md
  • powershell/public/ad/gpostate/Test-MtAdGpoVersionMismatchCount.ps1
  • powershell/public/ad/gpostate/Test-MtAdGpoVersionMismatchDetails.md
  • powershell/public/ad/gpostate/Test-MtAdGpoVersionMismatchDetails.ps1
  • powershell/public/ad/gpostate/Test-MtAdGpoWmiFilterCount.md
  • powershell/public/ad/gpostate/Test-MtAdGpoWmiFilterCount.ps1
  • powershell/public/ad/gpostate/Test-MtAdGpoWmiFilterDetails.md
  • powershell/public/ad/gpostate/Test-MtAdGpoWmiFilterDetails.ps1
  • powershell/public/ad/group/Test-MtAdGroupAdminCount.md
  • powershell/public/ad/group/Test-MtAdGroupChangeAveragePerYear.md
  • powershell/public/ad/group/Test-MtAdGroupChangeAveragePerYear.ps1
  • powershell/public/ad/group/Test-MtAdGroupDistributionCount.md
  • powershell/public/ad/group/Test-MtAdGroupDomainLocalCount.md
  • powershell/public/ad/group/Test-MtAdGroupEmptyNonPrivilegedCount.md
  • powershell/public/ad/group/Test-MtAdGroupEmptyNonPrivilegedCount.ps1
  • powershell/public/ad/group/Test-MtAdGroupEmptyNonPrivilegedDetails.md
  • powershell/public/ad/group/Test-MtAdGroupEmptyNonPrivilegedDetails.ps1
  • powershell/public/ad/group/Test-MtAdGroupGlobalCount.md
  • powershell/public/ad/group/Test-MtAdGroupInContainerCount.md
  • powershell/public/ad/group/Test-MtAdGroupMemberAccountTypeCount.md
  • powershell/public/ad/group/Test-MtAdGroupMemberAccountTypeDetails.md
  • powershell/public/ad/group/Test-MtAdGroupMemberDistinctGroupCount.md
  • powershell/public/ad/group/Test-MtAdGroupMemberForeignSidCount.md
  • powershell/public/ad/group/Test-MtAdGroupMemberForeignSidCount.ps1
  • powershell/public/ad/group/Test-MtAdGroupMemberForeignSidDetails.md
  • powershell/public/ad/group/Test-MtAdGroupMemberForeignSidDetails.ps1
  • powershell/public/ad/group/Test-MtAdGroupMemberTrustCount.md
  • powershell/public/ad/group/Test-MtAdGroupMemberTrustCount.ps1
  • powershell/public/ad/group/Test-MtAdGroupMemberTrustDetails.md
  • powershell/public/ad/group/Test-MtAdGroupMemberTrustDetails.ps1
  • powershell/public/ad/group/Test-MtAdGroupPrivilegedWithMembersCount.md
  • powershell/public/ad/group/Test-MtAdGroupPrivilegedWithMembersCount.ps1
  • powershell/public/ad/group/Test-MtAdGroupPrivilegedWithMembersDetails.md
  • powershell/public/ad/group/Test-MtAdGroupPrivilegedWithMembersDetails.ps1
  • powershell/public/ad/group/Test-MtAdGroupSecurityCount.md
  • powershell/public/ad/group/Test-MtAdGroupSidHistoryCount.md
  • powershell/public/ad/group/Test-MtAdGroupStaleCount.md
  • powershell/public/ad/group/Test-MtAdGroupUniversalCount.md
  • powershell/public/ad/group/Test-MtAdGroupWithManagerCount.md
  • powershell/public/ad/ou/Test-MtAdOuAtDomainRootCount.md
  • powershell/public/ad/ou/Test-MtAdOuEmptyCount.md
  • powershell/public/ad/ou/Test-MtAdOuEmptyDetails.md
  • powershell/public/ad/ou/Test-MtAdOuOverlappingNameCount.md
  • powershell/public/ad/ou/Test-MtAdOuStaleCount.md
  • powershell/public/ad/passwordpolicy/Test-MtAdAccountLockoutDuration.md
  • powershell/public/ad/passwordpolicy/Test-MtAdAccountLockoutThreshold.md
  • powershell/public/ad/passwordpolicy/Test-MtAdFineGrainedPolicyAppliesTo.md
  • powershell/public/ad/passwordpolicy/Test-MtAdFineGrainedPolicyCount.md
  • powershell/public/ad/passwordpolicy/Test-MtAdFineGrainedPolicySettingCounts.md
  • powershell/public/ad/passwordpolicy/Test-MtAdFineGrainedPolicyValueCount.md
  • powershell/public/ad/passwordpolicy/Test-MtAdPasswordComplexityRequired.md
  • powershell/public/ad/passwordpolicy/Test-MtAdPasswordHistoryCount.md
  • powershell/public/ad/passwordpolicy/Test-MtAdPasswordMaxAge.md
  • powershell/public/ad/passwordpolicy/Test-MtAdPasswordMinLength.md
  • powershell/public/ad/passwordpolicy/Test-MtAdPasswordReversibleEncryption.md
  • powershell/public/ad/printer/Test-MtAdPrinterTotalCount.md
  • powershell/public/ad/replication/Test-MtAdDfsrSubscriptionCount.md
  • powershell/public/ad/replication/Test-MtAdDfsrSubscriptionCount.ps1
  • powershell/public/ad/replication/Test-MtAdDisabledReplicationConnectionCount.md
  • powershell/public/ad/replication/Test-MtAdDisabledReplicationConnectionCount.ps1
  • powershell/public/ad/replication/Test-MtAdNonAutoReplicationConnectionCount.md
  • powershell/public/ad/replication/Test-MtAdNonAutoReplicationConnectionCount.ps1
  • powershell/public/ad/replication/Test-MtAdOptionalFeatureCount.md
  • powershell/public/ad/replication/Test-MtAdOptionalFeatureCount.ps1
  • powershell/public/ad/replication/Test-MtAdOptionalFeatureEnabledDetails.md
  • powershell/public/ad/replication/Test-MtAdOptionalFeatureEnabledDetails.ps1
  • powershell/public/ad/replication/Test-MtAdRootDseSynchronizedStatus.md
  • powershell/public/ad/replication/Test-MtAdSupportedSaslMechanismCount.md
  • powershell/public/ad/replication/Test-MtAdSupportedSaslMechanismCount.ps1
  • powershell/public/ad/replication/Test-MtAdSupportedSaslMechanismDetails.md
  • powershell/public/ad/replication/Test-MtAdSupportedSaslMechanismDetails.ps1
  • powershell/public/ad/schema/Test-MtAdLapsInstalledStatus.md
  • powershell/public/ad/schema/Test-MtAdSchemaModificationYearCount.md
  • powershell/public/ad/schema/Test-MtAdSchemaModificationYearDetails.md
  • powershell/public/ad/schema/Test-MtAdSchemaModificationYearDetails.ps1
  • powershell/public/ad/schema/Test-MtAdSchemaVersionDetails.md
  • powershell/public/ad/schema/Test-MtAdSchemaVersionEntryCount.md
  • powershell/public/ad/security/Test-MtAdComputerDnsHostNameCount.md
  • powershell/public/ad/security/Test-MtAdComputerDnsHostNameCount.ps1
  • powershell/public/ad/security/Test-MtAdComputerDnsZoneCount.md
  • powershell/public/ad/security/Test-MtAdComputerDnsZoneCount.ps1
  • powershell/public/ad/security/Test-MtAdComputerDnsZoneDetails.md
  • powershell/public/ad/security/Test-MtAdComputerDnsZoneDetails.ps1
  • powershell/public/ad/security/Test-MtAdComputerNonDcConstrainedDelegationCount.md
  • powershell/public/ad/security/Test-MtAdComputerNonDcConstrainedDelegationCount.ps1
  • powershell/public/ad/security/Test-MtAdComputerNonDcUnconstrainedDelegationCount.md
  • powershell/public/ad/security/Test-MtAdComputerOperatingSystemCount.md
  • powershell/public/ad/security/Test-MtAdComputerOperatingSystemCount.ps1
  • powershell/public/ad/security/Test-MtAdComputerOperatingSystemDetails.md
  • powershell/public/ad/security/Test-MtAdComputerOperatingSystemDetails.ps1
  • powershell/public/ad/security/Test-MtAdComputerStaleEnabledCount.md
  • powershell/public/ad/security/Test-MtAdComputerStaleEnabledCount.ps1
  • powershell/public/ad/security/Test-MtAdComputerUnconstrainedDelegationCount.md
  • powershell/public/ad/security/Test-MtAdComputerUnconstrainedDelegationCount.ps1
  • powershell/public/ad/security/Test-MtAdKrbtgtLastLogon.md
  • powershell/public/ad/security/Test-MtAdKrbtgtLastLogon.ps1
  • powershell/public/ad/security/Test-MtAdKrbtgtNonStandardUacCount.md
  • powershell/public/ad/security/Test-MtAdKrbtgtPasswordLastSet.md
  • powershell/public/ad/security/Test-MtAdKrbtgtPasswordLastSet.ps1
  • powershell/public/ad/security/Test-MtAdManagedServiceAccountCount.md
  • powershell/public/ad/security/Test-MtAdManagedServiceAccountCount.ps1
  • powershell/public/ad/site/Test-MtAdSiteTotalCount.md
  • powershell/public/ad/site/Test-MtAdSiteWithoutDcCount.md
  • powershell/public/ad/site/Test-MtAdSiteWithoutDcDetails.md
  • powershell/public/ad/site/Test-MtAdSiteWithoutDcDetails.ps1
  • powershell/public/ad/site/Test-MtAdSiteWithoutSubnetCount.md
  • powershell/public/ad/site/Test-MtAdSiteWithoutSubnetDetails.md
  • powershell/public/ad/site/Test-MtAdSiteWithoutSubnetDetails.ps1
  • powershell/public/ad/site/Test-MtAdSubnetCatchAllCount.md
  • powershell/public/ad/site/Test-MtAdSubnetFirstOctetCount.md
  • powershell/public/ad/site/Test-MtAdSubnetFirstThreeOctetsCount.md
  • powershell/public/ad/site/Test-MtAdSubnetFirstTwoOctetsCount.md
  • powershell/public/ad/site/Test-MtAdSubnetIpv6CatchAllCount.md
  • powershell/public/ad/site/Test-MtAdSubnetIpv6Count.md
  • powershell/public/ad/site/Test-MtAdSubnetNonInternalCount.md
  • powershell/public/ad/site/Test-MtAdSubnetNonInternalDetails.md
  • powershell/public/ad/site/Test-MtAdSubnetNonInternalDetails.ps1
  • powershell/public/ad/site/Test-MtAdSubnetSiteAssociationCount.md
  • powershell/public/ad/site/Test-MtAdSubnetTotalCount.md
  • powershell/public/ad/site/Test-MtAdSubnetWithoutSiteCount.md
  • powershell/public/ad/spn/Test-MtAdComputerSpnNonFqdnHosts.md
  • powershell/public/ad/spn/Test-MtAdComputerSpnNonFqdnHosts.ps1
  • powershell/public/ad/spn/Test-MtAdComputerSpnServiceClassCount.md
  • powershell/public/ad/spn/Test-MtAdComputerSpnServiceClassUsage.md
  • powershell/public/ad/spn/Test-MtAdComputerSpnUnknownCount.md
  • powershell/public/ad/spn/Test-MtAdComputerSpnUnknownDetails.md
  • powershell/public/ad/spn/Test-MtAdComputerSpnUnknownDetails.ps1
  • powershell/public/ad/spn/Test-MtAdUserSpnDomainAdminCount.md
  • powershell/public/ad/spn/Test-MtAdUserSpnDomainAdminCount.ps1
  • powershell/public/ad/spn/Test-MtAdUserSpnDomainAdminDetails.md
  • powershell/public/ad/spn/Test-MtAdUserSpnDomainAdminDetails.ps1
  • powershell/public/ad/spn/Test-MtAdUserSpnNonFqdnHosts.md
  • powershell/public/ad/spn/Test-MtAdUserSpnNonFqdnHosts.ps1
  • powershell/public/ad/spn/Test-MtAdUserSpnServiceClassCount.md
  • powershell/public/ad/spn/Test-MtAdUserSpnServiceClassCount.ps1
  • powershell/public/ad/spn/Test-MtAdUserSpnServiceClassUsage.md
  • powershell/public/ad/spn/Test-MtAdUserSpnServiceClassUsage.ps1
  • powershell/public/ad/spn/Test-MtAdUserSpnTotalCount.md
  • powershell/public/ad/spn/Test-MtAdUserSpnTotalCount.ps1
  • powershell/public/ad/spn/Test-MtAdUserSpnUnknownCount.md
  • powershell/public/ad/spn/Test-MtAdUserSpnUnknownCount.ps1
  • powershell/public/ad/spn/Test-MtAdUserSpnUnknownDetails.md
  • powershell/public/ad/spn/Test-MtAdUserSpnUnknownDetails.ps1
  • powershell/public/ad/trust/Test-MtAdTrustDetails.md
  • powershell/public/ad/trust/Test-MtAdTrustDetails.ps1
  • powershell/public/ad/trust/Test-MtAdTrustInterForestCount.md
  • powershell/public/ad/trust/Test-MtAdTrustInterForestCount.ps1
  • powershell/public/ad/trust/Test-MtAdTrustNonQuarantinedDetails.md
  • powershell/public/ad/trust/Test-MtAdTrustNonQuarantinedDetails.ps1
  • powershell/public/ad/trust/Test-MtAdTrustQuarantinedCount.md
  • powershell/public/ad/trust/Test-MtAdTrustQuarantinedCount.ps1
  • powershell/public/ad/trust/Test-MtAdTrustStaleCount.md
  • powershell/public/ad/trust/Test-MtAdTrustStaleCount.ps1
  • powershell/public/ad/trust/Test-MtAdTrustStaleDetails.md
  • powershell/public/ad/trust/Test-MtAdTrustStaleDetails.ps1
  • powershell/public/ad/trust/Test-MtAdTrustTotalCount.md
  • powershell/public/ad/trust/Test-MtAdTrustTotalCount.ps1
  • powershell/public/ad/user/Test-MtAdUserAdminCountCount.md
  • powershell/public/ad/user/Test-MtAdUserBuiltInAdminCount.md
  • powershell/public/ad/user/Test-MtAdUserBuiltInAdminCount.ps1
  • powershell/public/ad/user/Test-MtAdUserBuiltInAdminEnabledDetails.md
  • powershell/public/ad/user/Test-MtAdUserBuiltInAdminEnabledDetails.ps1
  • powershell/public/ad/user/Test-MtAdUserBuiltInAdminLastLogonDetails.md
  • powershell/public/ad/user/Test-MtAdUserBuiltInAdminLastLogonDetails.ps1
  • powershell/public/ad/user/Test-MtAdUserBuiltInAdminPasswordAgeDetails.md
  • powershell/public/ad/user/Test-MtAdUserBuiltInAdminPasswordAgeDetails.ps1
  • powershell/public/ad/user/Test-MtAdUserDelegationAllowedCount.md
  • powershell/public/ad/user/Test-MtAdUserDelegationConfiguredCount.md
  • powershell/public/ad/user/Test-MtAdUserDelegationConfiguredCount.ps1
  • powershell/public/ad/user/Test-MtAdUserDelegationDetails.md
  • powershell/public/ad/user/Test-MtAdUserDelegationDetails.ps1
  • powershell/public/ad/user/Test-MtAdUserDisabledCount.md
  • powershell/public/ad/user/Test-MtAdUserDormantEnabledCount.md
  • powershell/public/ad/user/Test-MtAdUserHomeDirectoryCount.md
  • powershell/public/ad/user/Test-MtAdUserHoneyPotCount.md
  • powershell/public/ad/user/Test-MtAdUserHoneyPotCount.ps1
  • powershell/public/ad/user/Test-MtAdUserHoneyPotDetails.md
  • powershell/public/ad/user/Test-MtAdUserHoneyPotDetails.ps1
  • powershell/public/ad/user/Test-MtAdUserInContainerCount.md
  • powershell/public/ad/user/Test-MtAdUserKerberosDesOnlyCount.md
  • powershell/public/ad/user/Test-MtAdUserKnownServiceAccountCount.md
  • powershell/public/ad/user/Test-MtAdUserKnownServiceAccountDetails.md
  • powershell/public/ad/user/Test-MtAdUserKnownServiceAccountDetails.ps1
  • powershell/public/ad/user/Test-MtAdUserManagerSetCount.md
  • powershell/public/ad/user/Test-MtAdUserNeverLoggedInCount.md
  • powershell/public/ad/user/Test-MtAdUserNoPreAuthCount.md
  • powershell/public/ad/user/Test-MtAdUserNonStandardPrimaryGroupCount.md
  • powershell/public/ad/user/Test-MtAdUserPasswordNeverExpiresCount.md
  • powershell/public/ad/user/Test-MtAdUserPasswordNotRequiredCount.md
  • powershell/public/ad/user/Test-MtAdUserProfilePathCount.md
  • powershell/public/ad/user/Test-MtAdUserReversibleEncryptionCount.md
  • powershell/public/ad/user/Test-MtAdUserScriptPathCount.md
  • powershell/public/ad/user/Test-MtAdUserSidHistoryCount.md
  • powershell/public/ad/user/Test-MtAdUserSpnSetCount.md
  • powershell/public/ad/user/Test-MtAdUserWorkstationRestrictionCount.md
  • tests/ad/computer/Test-MtAdComputerCreatorSidCount.Tests.ps1
  • tests/ad/computer/Test-MtAdComputerDelegationCount.Tests.ps1
  • tests/ad/computer/Test-MtAdComputerDelegationDetails.Tests.ps1
  • tests/ad/computer/Test-MtAdComputerDisabledCount.Tests.ps1
  • tests/ad/computer/Test-MtAdComputerDormantCount.Tests.ps1
  • tests/ad/computer/Test-MtAdComputerInDefaultContainer.Tests.ps1
  • tests/ad/computer/Test-MtAdComputerNonStandardGroup.Tests.ps1
  • tests/ad/computer/Test-MtAdComputerOUCount.Tests.ps1
  • tests/ad/computer/Test-MtAdComputerPerOUAverage.Tests.ps1
  • tests/ad/computer/Test-MtAdComputerSidHistoryCount.Tests.ps1
  • tests/ad/config/Test-MtAdAdActivationObjectsCount.Tests.ps1
  • tests/ad/config/Test-MtAdAuthNPolicyConfigCount.Tests.ps1
  • tests/ad/config/Test-MtAdCertificateTemplatesCount.Tests.ps1
  • tests/ad/config/Test-MtAdCrlDistributionPointsCount.Tests.ps1
  • tests/ad/config/Test-MtAdDefaultQueryPolicy.Tests.ps1
  • tests/ad/config/Test-MtAdDsHeuristicsCount.Tests.ps1
  • tests/ad/config/Test-MtAdEnrollmentCaCertificateDetails.Tests.ps1
  • tests/ad/config/Test-MtAdEnrollmentTemplatesCount.Tests.ps1
  • tests/ad/config/Test-MtAdEnterpriseCaCount.Tests.ps1
  • tests/ad/config/Test-MtAdIntermediateCaCount.Tests.ps1
  • tests/ad/config/Test-MtAdIntermediateCaDetails.Tests.ps1
  • tests/ad/config/Test-MtAdIpSiteLinksCount.Tests.ps1
  • tests/ad/config/Test-MtAdKdsRootKeysCount.Tests.ps1
  • tests/ad/config/Test-MtAdLdapQueryPolicyCount.Tests.ps1
  • tests/ad/config/Test-MtAdNtAuthCertificatesCount.Tests.ps1
  • tests/ad/config/Test-MtAdOptionalFeaturesCount.Tests.ps1
  • tests/ad/config/Test-MtAdRecycleBinEnabledPaths.Tests.ps1
  • tests/ad/config/Test-MtAdRegisteredDhcpServersCount.Tests.ps1
  • tests/ad/config/Test-MtAdSmtpSiteLinksCount.Tests.ps1
  • tests/ad/config/Test-MtAdSpnMappings.Tests.ps1
  • tests/ad/config/Test-MtAdTombstoneLifetimeConfig.Tests.ps1
  • tests/ad/config/Test-MtAdTrustedRootCaCount.Tests.ps1
  • tests/ad/config/Test-MtAdTrustedRootCaDetails.Tests.ps1
  • tests/ad/config/Test-MtAdWellKnownSecurityPrincipalsCount.Tests.ps1
  • tests/ad/dacl/Test-MtAdDaclConflictObjectCount.Tests.ps1
  • tests/ad/dacl/Test-MtAdDaclConflictObjectDetails.Tests.ps1
  • tests/ad/dacl/Test-MtAdDaclDenyAceCount.Tests.ps1
  • tests/ad/dacl/Test-MtAdDaclDenyAceDetails.Tests.ps1
  • tests/ad/dacl/Test-MtAdDaclDistinctIdentityCount.Tests.ps1
  • tests/ad/dacl/Test-MtAdDaclDistinctObjectCount.Tests.ps1
  • tests/ad/dacl/Test-MtAdDaclIdentityAceDistribution.Tests.ps1
  • tests/ad/dacl/Test-MtAdDaclInheritedObjectTypeCount.Tests.ps1
  • tests/ad/dacl/Test-MtAdDaclInheritedObjectTypeDetails.Tests.ps1
  • tests/ad/dacl/Test-MtAdDaclNonInheritedAceCount.Tests.ps1
  • tests/ad/dacl/Test-MtAdDaclOuObjectCount.Tests.ps1
  • tests/ad/dacl/Test-MtAdDaclPrivilegedAllowAceCount.Tests.ps1
  • tests/ad/dacl/Test-MtAdDaclPrivilegedAllowAceDetails.Tests.ps1
  • tests/ad/dacl/Test-MtAdDaclPrivilegedExtendedRightCount.Tests.ps1
  • tests/ad/dacl/Test-MtAdDaclPrivilegedExtendedRightDetails.Tests.ps1
  • tests/ad/dacl/Test-MtAdDaclPrivilegedExtendedRightIdentity.Tests.ps1
  • tests/ad/dacl/Test-MtAdDaclUnresolvedSidCount.Tests.ps1
  • tests/ad/dacl/Test-MtAdDaclUnresolvedSidDetails.Tests.ps1
  • tests/ad/dns/Test-MtAdDnsAdSrvRecordCount.Tests.ps1
  • tests/ad/dns/Test-MtAdDnsAdSrvRecordDetails.Tests.ps1
  • tests/ad/dns/Test-MtAdDnsDnssecRecordCount.Tests.ps1
  • tests/ad/dns/Test-MtAdDnsDuplicateZoneCount.Tests.ps1
  • tests/ad/dns/Test-MtAdDnsDynamicRecordCount.Tests.ps1
  • tests/ad/dns/Test-MtAdDnsEmptyZoneCount.Tests.ps1
  • tests/ad/dns/Test-MtAdDnsNonStandardZoneCount.Tests.ps1
  • tests/ad/dns/Test-MtAdDnsReverseZoneCount.Tests.ps1
  • tests/ad/dns/Test-MtAdDnsReverseZoneNetworkCount.Tests.ps1
  • tests/ad/dns/Test-MtAdDnsReverseZoneNetworkDetails.Tests.ps1
  • tests/ad/dns/Test-MtAdDnsRootServerIncorrectCount.Tests.ps1
  • tests/ad/dns/Test-MtAdDnsRootServerIncorrectDetails.Tests.ps1
  • tests/ad/dns/Test-MtAdDnsSoaDetails.Tests.ps1
  • tests/ad/dns/Test-MtAdDnsZoneCount.Tests.ps1
  • tests/ad/dns/Test-MtAdDnsZoneDelegationCount.Tests.ps1
  • tests/ad/dns/Test-MtAdDnsZoneDelegationDetails.Tests.ps1
  • tests/ad/dns/Test-MtAdDnsZoneRecordDetails.Tests.ps1
  • tests/ad/dns/Test-MtAdDnsZonesWithOnlySoaNs.Tests.ps1
  • tests/ad/dns/Test-MtAdDnsZonesWithRecordsCount.Tests.ps1
  • tests/ad/domain/Test-MtAdAllowedDnsSuffixesCount.Tests.ps1
  • tests/ad/domain/Test-MtAdCrossForestReferencesCount.Tests.ps1
  • tests/ad/domain/Test-MtAdDomainControllerCount.Tests.ps1
  • tests/ad/domain/Test-MtAdDomainFunctionalLevel.Tests.ps1
  • tests/ad/domain/Test-MtAdDomainNameNonStandardDetails.Tests.ps1
  • tests/ad/domain/Test-MtAdDomainNameStandardCompliance.Tests.ps1
  • tests/ad/domain/Test-MtAdForestDomainCount.Tests.ps1
  • tests/ad/domain/Test-MtAdForestFunctionalLevel.Tests.ps1
  • tests/ad/domain/Test-MtAdMachineAccountQuota.Tests.ps1
  • tests/ad/domain/Test-MtAdNetbiosNameNonStandardDetails.Tests.ps1
  • tests/ad/domain/Test-MtAdNetbiosNameStandardCompliance.Tests.ps1
  • tests/ad/domain/Test-MtAdRecycleBinStatus.Tests.ps1
  • tests/ad/domain/Test-MtAdRidsRemaining.Tests.ps1
  • tests/ad/domain/Test-MtAdSpnSuffixesCount.Tests.ps1
  • tests/ad/domain/Test-MtAdTombstoneLifetime.Tests.ps1
  • tests/ad/domain/Test-MtAdUpnSuffixesCount.Tests.ps1
  • tests/ad/domain/Test-MtAdUpnSuffixesDetails.Tests.ps1
  • tests/ad/domaincontroller/Test-MtAdDcAllFsmoRolesCount.Tests.ps1
  • tests/ad/domaincontroller/Test-MtAdDcFsmoRoleHolderDetails.Tests.ps1
  • tests/ad/domaincontroller/Test-MtAdDcNonGlobalCatalogCount.Tests.ps1
  • tests/ad/domaincontroller/Test-MtAdDcNonStandardLdapPortCount.Tests.ps1
  • tests/ad/domaincontroller/Test-MtAdDcNonStandardLdapsPortCount.Tests.ps1
  • tests/ad/domaincontroller/Test-MtAdDcOperatingSystemCount.Tests.ps1
  • tests/ad/domaincontroller/Test-MtAdDcOperatingSystemDetails.Tests.ps1
  • tests/ad/domaincontroller/Test-MtAdDcReadOnlyCount.Tests.ps1
  • tests/ad/domaincontroller/Test-MtAdDcSiteCoverageCount.Tests.ps1
  • tests/ad/domaincontroller/Test-MtAdDcSmbSigningEnabledCount.Tests.ps1
  • tests/ad/domaincontroller/Test-MtAdDcSmbv1EnabledCount.Tests.ps1
  • tests/ad/domaincontroller/Test-MtAdDcSmbv311EnabledCount.Tests.ps1
  • tests/ad/gpo/Test-MtAdGpoBlockedInheritanceCount.Tests.ps1
  • tests/ad/gpo/Test-MtAdGpoChangedBefore2020Count.Tests.ps1
  • tests/ad/gpo/Test-MtAdGpoCreatedBefore2020Count.Tests.ps1
  • tests/ad/gpo/Test-MtAdGpoDisabledLinkCount.Tests.ps1
  • tests/ad/gpo/Test-MtAdGpoEnforcedCount.Tests.ps1
  • tests/ad/gpo/Test-MtAdGpoLinkedCount.Tests.ps1
  • tests/ad/gpo/Test-MtAdGpoLinkedOUCount.Tests.ps1
  • tests/ad/gpo/Test-MtAdGpoTotalCount.Tests.ps1
  • tests/ad/gpo/Test-MtAdGpoUnlinkedCount.Tests.ps1
  • tests/ad/gpo/Test-MtAdGpoUnlinkedDetails.Tests.ps1
  • tests/ad/gpo/Test-MtAdGpoUnlinkedTargetCount.Tests.ps1
  • tests/ad/gpostate/Test-MtAdGpoAllSettingsDisabledDetails.Tests.ps1
  • tests/ad/gpostate/Test-MtAdGpoComputerSettingsDisabledDetails.Tests.ps1
  • tests/ad/gpostate/Test-MtAdGpoCpasswordFoundCount.Tests.ps1
  • tests/ad/gpostate/Test-MtAdGpoCpasswordFoundDetails.Tests.ps1
  • tests/ad/gpostate/Test-MtAdGpoDefaultPasswordFoundCount.Tests.ps1
  • tests/ad/gpostate/Test-MtAdGpoDefaultPasswordFoundDetails.Tests.ps1
  • tests/ad/gpostate/Test-MtAdGpoDenyAceCount.Tests.ps1
  • tests/ad/gpostate/Test-MtAdGpoDenyAceDetails.Tests.ps1
  • tests/ad/gpostate/Test-MtAdGpoDisabledLinkCount.Tests.ps1
  • tests/ad/gpostate/Test-MtAdGpoDisabledLinkDetails.Tests.ps1
  • tests/ad/gpostate/Test-MtAdGpoEnforcementCount.Tests.ps1
  • tests/ad/gpostate/Test-MtAdGpoInheritedPermissionsCount.Tests.ps1
  • tests/ad/gpostate/Test-MtAdGpoNoApplyGroupPolicyAceCount.Tests.ps1
  • tests/ad/gpostate/Test-MtAdGpoNoApplyGroupPolicyAceDetails.Tests.ps1
  • tests/ad/gpostate/Test-MtAdGpoNoAuthenticatedUsersCount.Tests.ps1
  • tests/ad/gpostate/Test-MtAdGpoNoAuthenticatedUsersDetails.Tests.ps1
  • tests/ad/gpostate/Test-MtAdGpoNoDomainComputersCount.Tests.ps1
  • tests/ad/gpostate/Test-MtAdGpoNoEnterpriseDcCount.Tests.ps1
  • tests/ad/gpostate/Test-MtAdGpoNoPermissionsCount.Tests.ps1
  • tests/ad/gpostate/Test-MtAdGpoNoPermissionsDetails.Tests.ps1
  • tests/ad/gpostate/Test-MtAdGpoOwnerDetails.Tests.ps1
  • tests/ad/gpostate/Test-MtAdGpoOwnerDistinctCount.Tests.ps1
  • tests/ad/gpostate/Test-MtAdGpoSettingsDisabledCount.Tests.ps1
  • tests/ad/gpostate/Test-MtAdGpoStateTotalCount.Tests.ps1
  • tests/ad/gpostate/Test-MtAdGpoUserSettingsDisabledDetails.Tests.ps1
  • tests/ad/gpostate/Test-MtAdGpoVersionMismatchCount.Tests.ps1
  • tests/ad/gpostate/Test-MtAdGpoVersionMismatchDetails.Tests.ps1
  • tests/ad/gpostate/Test-MtAdGpoWmiFilterCount.Tests.ps1
  • tests/ad/gpostate/Test-MtAdGpoWmiFilterDetails.Tests.ps1
  • tests/ad/group/Test-MtAdGroupAdminCount.Tests.ps1
  • tests/ad/group/Test-MtAdGroupChangeAveragePerYear.Tests.ps1
  • tests/ad/group/Test-MtAdGroupDistributionCount.Tests.ps1
  • tests/ad/group/Test-MtAdGroupDomainLocalCount.Tests.ps1
  • tests/ad/group/Test-MtAdGroupEmptyNonPrivilegedCount.Tests.ps1
  • tests/ad/group/Test-MtAdGroupEmptyNonPrivilegedDetails.Tests.ps1
  • tests/ad/group/Test-MtAdGroupGlobalCount.Tests.ps1
  • tests/ad/group/Test-MtAdGroupInContainerCount.Tests.ps1
  • tests/ad/group/Test-MtAdGroupMemberAccountTypeCount.Tests.ps1
  • tests/ad/group/Test-MtAdGroupMemberAccountTypeDetails.Tests.ps1
  • tests/ad/group/Test-MtAdGroupMemberDistinctGroupCount.Tests.ps1
  • tests/ad/group/Test-MtAdGroupMemberForeignSidCount.Tests.ps1
  • tests/ad/group/Test-MtAdGroupMemberForeignSidDetails.Tests.ps1
  • tests/ad/group/Test-MtAdGroupMemberTrustCount.Tests.ps1
  • tests/ad/group/Test-MtAdGroupMemberTrustDetails.Tests.ps1
  • tests/ad/group/Test-MtAdGroupPrivilegedWithMembersCount.Tests.ps1
  • tests/ad/group/Test-MtAdGroupPrivilegedWithMembersDetails.Tests.ps1
  • tests/ad/group/Test-MtAdGroupSecurityCount.Tests.ps1
  • tests/ad/group/Test-MtAdGroupSidHistoryCount.Tests.ps1
  • tests/ad/group/Test-MtAdGroupStaleCount.Tests.ps1
  • tests/ad/group/Test-MtAdGroupUniversalCount.Tests.ps1
  • tests/ad/group/Test-MtAdGroupWithManagerCount.Tests.ps1
  • tests/ad/ou/Test-MtAdOuAtDomainRootCount.Tests.ps1
  • tests/ad/ou/Test-MtAdOuEmptyCount.Tests.ps1
  • tests/ad/ou/Test-MtAdOuEmptyDetails.Tests.ps1
  • tests/ad/ou/Test-MtAdOuOverlappingNameCount.Tests.ps1
  • tests/ad/ou/Test-MtAdOuStaleCount.Tests.ps1
  • tests/ad/passwordpolicy/Test-MtAdAccountLockoutDuration.Tests.ps1
  • tests/ad/passwordpolicy/Test-MtAdAccountLockoutThreshold.Tests.ps1
  • tests/ad/passwordpolicy/Test-MtAdFineGrainedPolicyAppliesTo.Tests.ps1
  • tests/ad/passwordpolicy/Test-MtAdFineGrainedPolicyCount.Tests.ps1
  • tests/ad/passwordpolicy/Test-MtAdFineGrainedPolicySettingCounts.Tests.ps1
  • tests/ad/passwordpolicy/Test-MtAdFineGrainedPolicyValueCount.Tests.ps1
  • tests/ad/passwordpolicy/Test-MtAdPasswordComplexityRequired.Tests.ps1
  • tests/ad/passwordpolicy/Test-MtAdPasswordHistoryCount.Tests.ps1
  • tests/ad/passwordpolicy/Test-MtAdPasswordMaxAge.Tests.ps1
  • tests/ad/passwordpolicy/Test-MtAdPasswordMinLength.Tests.ps1
  • tests/ad/passwordpolicy/Test-MtAdPasswordReversibleEncryption.Tests.ps1
  • tests/ad/printer/Test-MtAdPrinterTotalCount.Tests.ps1
  • tests/ad/replication/Test-MtAdDfsrSubscriptionCount.Tests.ps1
  • tests/ad/replication/Test-MtAdDisabledReplicationConnectionCount.Tests.ps1
  • tests/ad/replication/Test-MtAdNonAutoReplicationConnectionCount.Tests.ps1
  • tests/ad/replication/Test-MtAdOptionalFeatureCount.Tests.ps1
  • tests/ad/replication/Test-MtAdOptionalFeatureEnabledDetails.Tests.ps1
  • tests/ad/replication/Test-MtAdRootDseSynchronizedStatus.Tests.ps1
  • tests/ad/replication/Test-MtAdSupportedSaslMechanismCount.Tests.ps1
  • tests/ad/replication/Test-MtAdSupportedSaslMechanismDetails.Tests.ps1
  • tests/ad/schema/Test-MtAdLapsInstalledStatus.Tests.ps1
  • tests/ad/schema/Test-MtAdSchemaModificationYearCount.Tests.ps1
  • tests/ad/schema/Test-MtAdSchemaModificationYearDetails.Tests.ps1
  • tests/ad/schema/Test-MtAdSchemaVersionDetails.Tests.ps1
  • tests/ad/schema/Test-MtAdSchemaVersionEntryCount.Tests.ps1
  • tests/ad/security/Test-MtAdComputerDnsHostNameCount.Tests.ps1
  • tests/ad/security/Test-MtAdComputerDnsZoneCount.Tests.ps1
  • tests/ad/security/Test-MtAdComputerDnsZoneDetails.Tests.ps1
  • tests/ad/security/Test-MtAdComputerNonDcConstrainedDelegationCount.Tests.ps1
  • tests/ad/security/Test-MtAdComputerNonDcUnconstrainedDelegationCount.Tests.ps1
  • tests/ad/security/Test-MtAdComputerOperatingSystemCount.Tests.ps1
  • tests/ad/security/Test-MtAdComputerOperatingSystemDetails.Tests.ps1
  • tests/ad/security/Test-MtAdComputerStaleEnabledCount.Tests.ps1
  • tests/ad/security/Test-MtAdComputerUnconstrainedDelegationCount.Tests.ps1
  • tests/ad/security/Test-MtAdKrbtgtLastLogon.Tests.ps1
  • tests/ad/security/Test-MtAdKrbtgtNonStandardUacCount.Tests.ps1
  • tests/ad/security/Test-MtAdKrbtgtPasswordLastSet.Tests.ps1
  • tests/ad/security/Test-MtAdManagedServiceAccountCount.Tests.ps1
  • tests/ad/site/Test-MtAdSiteTotalCount.Tests.ps1
  • tests/ad/site/Test-MtAdSiteWithoutDcCount.Tests.ps1
  • tests/ad/site/Test-MtAdSiteWithoutDcDetails.Tests.ps1
  • tests/ad/site/Test-MtAdSiteWithoutSubnetCount.Tests.ps1
  • tests/ad/site/Test-MtAdSiteWithoutSubnetDetails.Tests.ps1
  • tests/ad/site/Test-MtAdSubnetCatchAllCount.Tests.ps1
  • tests/ad/site/Test-MtAdSubnetFirstOctetCount.Tests.ps1
  • tests/ad/site/Test-MtAdSubnetFirstThreeOctetsCount.Tests.ps1
  • tests/ad/site/Test-MtAdSubnetFirstTwoOctetsCount.Tests.ps1
  • tests/ad/site/Test-MtAdSubnetIpv6CatchAllCount.Tests.ps1
  • tests/ad/site/Test-MtAdSubnetIpv6Count.Tests.ps1
  • tests/ad/site/Test-MtAdSubnetNonInternalCount.Tests.ps1
  • tests/ad/site/Test-MtAdSubnetNonInternalDetails.Tests.ps1
  • tests/ad/site/Test-MtAdSubnetSiteAssociationCount.Tests.ps1
  • tests/ad/site/Test-MtAdSubnetTotalCount.Tests.ps1
  • tests/ad/site/Test-MtAdSubnetWithoutSiteCount.Tests.ps1
  • tests/ad/spn/Test-MtAdComputerSpnNonFqdnHosts.Tests.ps1
  • tests/ad/spn/Test-MtAdComputerSpnServiceClassCount.Tests.ps1
  • tests/ad/spn/Test-MtAdComputerSpnServiceClassUsage.Tests.ps1
  • tests/ad/spn/Test-MtAdComputerSpnUnknownCount.Tests.ps1
  • tests/ad/spn/Test-MtAdComputerSpnUnknownDetails.Tests.ps1
  • tests/ad/spn/Test-MtAdUserSpnDomainAdminCount.Tests.ps1
  • tests/ad/spn/Test-MtAdUserSpnDomainAdminDetails.Tests.ps1
  • tests/ad/spn/Test-MtAdUserSpnNonFqdnHosts.Tests.ps1
  • tests/ad/spn/Test-MtAdUserSpnServiceClassCount.Tests.ps1
  • tests/ad/spn/Test-MtAdUserSpnServiceClassUsage.Tests.ps1
  • tests/ad/spn/Test-MtAdUserSpnTotalCount.Tests.ps1
  • tests/ad/spn/Test-MtAdUserSpnUnknownCount.Tests.ps1
  • tests/ad/spn/Test-MtAdUserSpnUnknownDetails.Tests.ps1
  • tests/ad/trust/Test-MtAdTrustDetails.Tests.ps1
  • tests/ad/trust/Test-MtAdTrustInterForestCount.Tests.ps1
  • tests/ad/trust/Test-MtAdTrustNonQuarantinedDetails.Tests.ps1
  • tests/ad/trust/Test-MtAdTrustQuarantinedCount.Tests.ps1
  • tests/ad/trust/Test-MtAdTrustStaleCount.Tests.ps1
  • tests/ad/trust/Test-MtAdTrustStaleDetails.Tests.ps1
  • tests/ad/trust/Test-MtAdTrustTotalCount.Tests.ps1
  • tests/ad/user/Test-MtAdUserAdminCountCount.Tests.ps1
  • tests/ad/user/Test-MtAdUserBuiltInAdminCount.Tests.ps1
  • tests/ad/user/Test-MtAdUserBuiltInAdminEnabledDetails.Tests.ps1
  • tests/ad/user/Test-MtAdUserBuiltInAdminLastLogonDetails.Tests.ps1
  • tests/ad/user/Test-MtAdUserBuiltInAdminPasswordAgeDetails.Tests.ps1
  • tests/ad/user/Test-MtAdUserDelegationAllowedCount.Tests.ps1
  • tests/ad/user/Test-MtAdUserDelegationConfiguredCount.Tests.ps1
  • tests/ad/user/Test-MtAdUserDelegationDetails.Tests.ps1
  • tests/ad/user/Test-MtAdUserDisabledCount.Tests.ps1
  • tests/ad/user/Test-MtAdUserDormantEnabledCount.Tests.ps1
  • tests/ad/user/Test-MtAdUserHomeDirectoryCount.Tests.ps1
  • tests/ad/user/Test-MtAdUserHoneyPotCount.Tests.ps1
  • tests/ad/user/Test-MtAdUserHoneyPotDetails.Tests.ps1
  • tests/ad/user/Test-MtAdUserInContainerCount.Tests.ps1
  • tests/ad/user/Test-MtAdUserKerberosDesOnlyCount.Tests.ps1
  • tests/ad/user/Test-MtAdUserKnownServiceAccountCount.Tests.ps1
  • tests/ad/user/Test-MtAdUserKnownServiceAccountDetails.Tests.ps1
  • tests/ad/user/Test-MtAdUserManagerSetCount.Tests.ps1
  • tests/ad/user/Test-MtAdUserNeverLoggedInCount.Tests.ps1
  • tests/ad/user/Test-MtAdUserNoPreAuthCount.Tests.ps1
  • tests/ad/user/Test-MtAdUserNonStandardPrimaryGroupCount.Tests.ps1
  • tests/ad/user/Test-MtAdUserPasswordNeverExpiresCount.Tests.ps1
  • tests/ad/user/Test-MtAdUserPasswordNotRequiredCount.Tests.ps1
  • tests/ad/user/Test-MtAdUserProfilePathCount.Tests.ps1
  • tests/ad/user/Test-MtAdUserReversibleEncryptionCount.Tests.ps1
  • tests/ad/user/Test-MtAdUserScriptPathCount.Tests.ps1
  • tests/ad/user/Test-MtAdUserSidHistoryCount.Tests.ps1
  • tests/ad/user/Test-MtAdUserSpnSetCount.Tests.ps1
  • tests/ad/user/Test-MtAdUserWorkstationRestrictionCount.Tests.ps1
  • tests/maester-config.json

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@soulemike soulemike changed the title 06 ad test operational value Clean up of AD tests to provide more clarity and value Oct 3, 2026
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

… AD test validation

- Run-LabADTests.ps1: PowerShell script that builds module, retrieves
  Key Vault secrets via managed identity, deploys to Windows runner,
  executes AD tests against all domains, and retrieves reports
- Run-LabADTests.sh: Bash wrapper for the PowerShell script
- README.md: Add 'Streamlined Test Execution' section documenting
  helper scripts, prerequisites, and evidence structure
- LabConfig.json: Add testing metadata section with Plan 06
  validation results and known issues
…to Run-LabADTests

- Script now warns about 25-30 min runtime for full 3-domain runs
- Per-domain progress timestamps so partial results are visible on timeout
- Post-run warning if domains are missing (timeout detection)
- README troubleshooting table for common timeout and connection issues
- Estimates 8-10 min per domain to help users set appropriate timeouts

@github-advanced-security github-advanced-security AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PSScriptAnalyzer found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

…nd empty catch in Run-LabADTests

- LabConfig.json should only exist on archive branch; removed from 06
- Run-LabADTests.ps1: replace all Write-Host with Write-Output/Write-Warning
  per PSScriptAnalyzer rule (Write-Host may not work in all hosts)
- Fix empty catch blocks on lines 146-147 to use Write-Verbose
@soulemike

Copy link
Copy Markdown
Contributor Author

@merill this one should be good for review now.

@merill merill left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@soulemike this was the only one that was picked up. Is it applicable?

AD-TRUST-04 still always passes. Test-MtAdTrustNonQuarantinedDetails filters on $_.Quarantined -eq $false. The trust objects come from Get-MtLdapTrust (powershell/internal/ad/queries/Get-MtLdapTrust.ps1:15), which has no Quarantined property. So the filter matches nothing, the count is always 0, and the check reports "No trusts should lack SID filtering" as passed. The fix is to derive quarantine from the trustAttributes value 0x4 (QUARANTINED_DOMAIN). It should also only look at external trusts: parent-child trusts inside a forest never carry that flag, so counting them would fail every multi-domain forest.

AD-TRUST-03/04/05 were silently broken: Get-MtLdapTrust returns raw LDAP
attributes including trustAttributes (bitmask) and numeric trustType, but
the test functions referenced nonexistent properties Quarantined, IntraForest,
and SelectiveAuthentication.

Changes:
- Derive Quarantined from trustAttributes bit 0x4 (QUARANTINED_DOMAIN)
- Derive IntraForest from trustAttributes bit 0x20 (WITHIN_FOREST)
- Derive SelectiveAuthentication from trustAttributes bit 0x10
  (CROSS_ORGANIZATION) in Test-MtAdTrustDetails
- Filter quarantine checks to external/forest trusts only — intra-forest
  (parent-child) trusts do not support quarantine
- Fix TrustType mapping from numeric values (1=External Downlevel,
  2=Domain Uplevel, 3=MIT Kerberos, 4=DCE)
- Fix TrustDirection mapping from numeric values (1=Inbound, 2=Outbound,
  3=Bidirectional)
- Update companion .md files with correct data source documentation
@soulemike

soulemike commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor Author

@soulemike this was the only one that was picked up. Is it applicable?

Great call out. I have a fix for both the enumeration and the test statuses coming in. One will be a threshold and the other two will be investigates.

… investigate

- AD-TRUST-04 (Test-MtAdTrustNonQuarantinedDetails): Now a threshold test
  that returns  when non-quarantined external/forest trusts exist.
  Control Type: Detective. Severity: High.
- AD-TRUST-03 (Test-MtAdTrustQuarantinedCount): Already uses -Investigate.
  Control Type: Operational. Severity: Info.
- AD-TRUST-05 (Test-MtAdTrustDetails): Already uses -Investigate.
  Control Type: Operational. Severity: Info.

Aligns with Plan 06 classification strategy: threshold tests assert real
security conditions; investigate tests collect data for operator review.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants