HardeningLens

1.2.2

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.2

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

Install-PSResource -Name HardeningLens -Version 1.2.2

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: relative output paths for drift reports and exception registers now resolve against the PowerShell location instead of the process working directory.

FileList

Version History

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