Krit.Hardening

1.0.1

Kritical Hardening toolkit. Stands on the shoulders of HotCakeX/Harden-Windows-Security-Module, scipag/HardeningKitty, Microsoft Security Compliance Toolkit, and the DSC AuditPolicy/SecurityPolicy resources. v1.0.0 is audit-only: a single call runs every installed compliance probe and emits a Kritical-branded HTML + Excel report. Apply-side functions (Invoke-KritHarde
Kritical Hardening toolkit. Stands on the shoulders of HotCakeX/Harden-Windows-Security-Module, scipag/HardeningKitty, Microsoft Security Compliance Toolkit, and the DSC AuditPolicy/SecurityPolicy resources. v1.0.0 is audit-only: a single call runs every installed compliance probe and emits a Kritical-branded HTML + Excel report. Apply-side functions (Invoke-KritHardenApply / Restore-KritHardenSnapshot / Start-KritHardenWatcher) ship in v1.1.0 once the snapshot/rollback chain is bulletproof. Built on Krit.OmniFramework.
Show more

Minimum PowerShell version

5.1

Installation Options

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

Install-Module -Name Krit.Hardening

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

Install-PSResource -Name Krit.Hardening

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 Kritical Pty Ltd. All rights reserved.

Package Details

Author(s)

  • Joshua Finley

Tags

Kritical Hardening Security HotCakeX HardeningKitty MicrosoftSecurityComplianceToolkit LGPO DSC CIS STIG Windows MSP Automation

Functions

Test-KritHardenPrereqs Install-KritHardenModules Get-KritHardenModuleStatus Test-KritHardenCompliance New-KritHardenReport Get-KritHardenBanner

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes

1.0.1 - Resilience fix (matches Krit.OmniFramework 1.0.2 pattern).
 * Moved Krit.OmniFramework out of RequiredModules into
   PSData.ExternalModuleDependencies. PowerShell hard-imports
   RequiredModules BEFORE the consuming module's psm1 runs, so any
   AppDomain collision in a transitive dep (e.g. stale PSFramework)
   used to cascade into Krit.Hardening import failure.
   Install-Module Krit.Hardening STILL pulls Krit.OmniFramework
   transitively from PSGallery via ExternalModuleDependencies.
 * Consuming functions (New-KritHardenReport, etc.) soft-import
   Krit.OmniFramework at use time and degrade gracefully when an
   older version is AppDomain-locked.
 * Recommended: Update-Module Krit.OmniFramework -Force to land 1.0.2
   in the same step, then restart pwsh.

1.0.0 - Initial release (audit-only).
 * Test-KritHardenPrereqs        - 7-gate prereq check (OS / PS / admin / Defender / TPM / SecureBoot / WinRM)
 * Install-KritHardenModules     - wraps Install-Module for HotCakeX Harden-Windows-Security-Module + scipag HardeningKitty; honours the operator's existing module versions
 * Test-KritHardenCompliance     - runs every installed audit tool, normalises findings into a single PSCustomObject set + JSON
 * New-KritHardenReport          - Kritical-branded HTML + Excel via Krit.OmniFramework (sister module)
 * Pester unit tests, brand discipline, no destructive apply path in this version
 * Stands on Krit.OmniFramework 1.0.1+
 * Joshua Finley, Kritical Pty Ltd

FileList

Version History

Version Downloads Last updated
1.0.1 (current version) 5 6/24/2026
1.0.0 4 6/24/2026