HardeningLens
1.3.1
Read-only Windows security posture, baseline, exception, and configuration drift assessment.
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
(c) 2026 Flurin Gubler. Released under the MIT License.
Package Details
Author(s)
- Flurin Gubler
Tags
Windows Security Hardening Audit PowerShell Baseline Drift SecOps
Functions
Invoke-HardeningLens Invoke-HardeningLensFleet Export-HardeningLensReport Export-HardeningLensFleetReport Export-HardeningLensTrendReport Compare-HardeningLensResult Get-HardeningLensBaseline Get-HardeningLensControl Test-HardeningLensBaseline Test-HardeningLensPolicy Test-HardeningLensExceptionFile New-HardeningLensExceptionFile Set-HardeningLensException
PSEditions
Dependencies
This module has no dependencies.
Release Notes
Maintenance release: fleet runs without -ControlId work again, and a relative fleet -OutputDirectory resolves against the PowerShell location instead of the process working directory.
FileList
- HardeningLens.nuspec
- Data\Baselines\AVDSessionHost.json
- Data\Baselines\DomainController.json
- Data\Baselines\MemberServer.json
- Data\Baselines\Workstation.json
- Data\control-catalog.json
- HardeningLens.psd1
- HardeningLens.psm1
- Private\AtomicFile.ps1
- Private\AuditPolicy.ps1
- Private\BaselineGovernance.ps1
- Private\BaselineValidation.ps1
- Private\Collection.ps1
- Private\Common.ps1
- Private\Comparison.ps1
- Private\ExceptionLifecycle.ps1
- Private\Exceptions.ps1
- Private\File.ps1
- Private\Fleet.ps1
- Private\FleetReport.ps1
- Private\Laps.ps1
- Private\Policy.ps1
- Private\ProbeDispatcher.ps1
- Private\ProbeHelpers.ps1
- Private\Probes.Defender.ps1
- Private\Probes.Network.ps1
- Private\Probes.Security.ps1
- Private\Probes.System.ps1
- Private\Registry.ps1
- Private\Report.ps1
- Private\TrendReport.ps1
- Private\Validation.ps1
- Private\Value.ps1
- Public\Compare-HardeningLensResult.ps1
- Public\Export-HardeningLensFleetReport.ps1
- Public\Export-HardeningLensReport.ps1
- Public\Export-HardeningLensTrendReport.ps1
- Public\Get-HardeningLensBaseline.ps1
- Public\Get-HardeningLensControl.ps1
- Public\Invoke-HardeningLens.ps1
- Public\Invoke-HardeningLensFleet.ps1
- Public\New-HardeningLensExceptionFile.ps1
- Public\Set-HardeningLensException.ps1
- Public\Test-HardeningLensBaseline.ps1
- Public\Test-HardeningLensExceptionFile.ps1
- Public\Test-HardeningLensPolicy.ps1
- Schema\baseline.schema.json
- Schema\comparison.schema.json
- Schema\control-catalog.schema.json
- Schema\exception.schema.json
- Schema\fleet-result.schema.json
- Schema\result.schema.json
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 1.3.1 (current version) | 9 | 7/24/2026 |
| 1.3.0 | 8 | 7/24/2026 |
| 1.2.2 | 6 | 7/22/2026 |
| 1.2.1 | 6 | 7/21/2026 |
| 1.2.0 | 6 | 7/21/2026 |