MDEValidator

1.5.0

PowerShell module to validate Microsoft Defender for Endpoint (MDE) configurations and security settings.

Minimum PowerShell version

5.1

Installation Options

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

Install-Module -Name MDEValidator

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

Install-PSResource -Name MDEValidator

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 Nathan Hutchinson. All rights reserved.

Package Details

Author(s)

  • Nathan Hutchinson

Tags

Security Defender MDE Endpoint Validation Windows

Functions

Test-MDEConfiguration Get-MDEValidationReport Get-MDEOperatingSystemInfo Get-MDESecuritySettingsManagementStatus Get-MDEOnboardingStatusString Get-MDEManagementType Get-MDEManagedDefenderProductType Get-MDEManagementTypeFallback Get-MDEPolicyRegistryPath Get-MDEPolicySettingConfig Test-MDEPolicyRegistryValue Test-MDEPolicyRegistryVerification Test-MDEServiceStatus Test-MDEPassiveMode Test-MDEAntiSpywareEnabled Test-MDEIoavProtectionEnabled Test-MDENISEnabled Test-MDESignatureAge Test-MDESignatureInfo Test-MDERealTimeProtection Test-MDECloudProtection Test-MDECloudBlockLevel Test-MDECloudExtendedTimeout Test-MDESampleSubmission Test-MDEBehaviorMonitoring Test-MDEOnboardingStatus Test-MDEDeviceTags Test-MDENetworkProtection Test-MDENetworkProtectionWindowsServer Test-MDEDatagramProcessingWindowsServer Test-MDEAutoExclusionsWindowsServer Test-MDEAttackSurfaceReduction Test-MDEThreatDefaultActions Test-MDETroubleshootingMode Test-MDETamperProtection Test-MDETamperProtectionForExclusions Test-MDEExclusionVisibilityLocalAdmins Test-MDEExclusionVisibilityLocalUsers Test-MDESmartScreen Test-MDESmartScreenPUA Test-MDESmartScreenPromptOverride Test-MDESmartScreenDownloadOverride Test-MDESmartScreenDomainExclusions Test-MDESmartScreenAppRepExclusions Test-MDEDisableCatchupQuickScan Test-MDERealTimeScanDirection Test-MDESignatureUpdateFallbackOrder Test-MDESignatureUpdateInterval Test-MDEDisableLocalAdminMerge Test-MDEFileHashComputation Test-MDEPUAProtection

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes

v1.5.0 — Automation & Performance

New automation features:
- JSON output format: Get-MDEValidationReport -OutputFormat JSON (metadata/summary/results envelope)
- -AsExitCode switch returns the Fail count as an integer for scheduled tasks, Intune remediation, and CI
- -Category and -ExcludeTest filtering on Test-MDEConfiguration and Get-MDEValidationReport
- Write-Progress reporting during validation runs

Enriched results:
- Every result now carries Category, Expected and Actual properties
- HTML report sections and Expected column are driven directly by result objects

Performance & maintainability:
- Defender CIM snapshots queried once per run (30-40 round-trips reduced to 2)
- HTML report generation extracted into private helpers
- New CONTRIBUTING.md guide for adding validation checks

Previous release (v1.4.0):
- Redesigned HTML report: gradient header, summary cards, section-grouped tables, print CSS

Total: 446 Pester tests (0 failures), zero PSScriptAnalyzer violations

FileList

Version History

Version Downloads Last updated
1.5.0 (current version) 6 7/11/2026
1.4.0 45 5/17/2026
1.2.0 37 4/16/2026
1.1.0 44 4/12/2026
1.0.1 23 3/23/2026
1.0.0 18 3/19/2026
Show more