HardeningLens

1.2.1

Read-only Windows security posture, baseline, exception, and configuration drift assessment.

Minimum PowerShell version

5.1

Installation Options

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

Install-Module -Name HardeningLens -RequiredVersion 1.2.1

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

Install-PSResource -Name HardeningLens -Version 1.2.1

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 xGreeny. Released under the MIT License.

Package Details

Author(s)

  • xGreeny

Tags

Windows Security Hardening Audit PowerShell Baseline Drift SecOps

Functions

Invoke-HardeningLens Invoke-HardeningLensFleet Export-HardeningLensReport Export-HardeningLensFleetReport Compare-HardeningLensResult Get-HardeningLensBaseline Get-HardeningLensControl Test-HardeningLensBaseline Test-HardeningLensPolicy Test-HardeningLensExceptionFile New-HardeningLensExceptionFile Set-HardeningLensException

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes

Maintenance release: one cached optional-feature listing per scan, role-aware Guest account evaluation on domain controllers, truthful BitLocker and firewall results, and retry-hardened fleet run publication.

FileList

Version History

Version Downloads Last updated
1.3.1 9 7/24/2026
1.3.0 8 7/24/2026
1.2.2 6 7/22/2026
1.2.1 (current version) 6 7/21/2026
1.2.0 6 7/21/2026