Krit.OmniFramework

1.1.0

Kritical OmniFramework — multi-OS PowerShell foundation. One Import-Module call gives you: structured logging (PSFramework), shared utilities (PSSharedGoods, disambiguated from psutil), HTML reporting (PSWriteHTML), Office/Word/PDF output (PSWriteOffice), Excel I/O (ImportExcel), OS+distro+architecture detection across Windows/macOS/Linux, FHS/LSB-aware tool-inventory
Kritical OmniFramework — multi-OS PowerShell foundation. One Import-Module call gives you: structured logging (PSFramework), shared utilities (PSSharedGoods, disambiguated from psutil), HTML reporting (PSWriteHTML), Office/Word/PDF output (PSWriteOffice), Excel I/O (ImportExcel), OS+distro+architecture detection across Windows/macOS/Linux, FHS/LSB-aware tool-inventory walker, and Kritical-branded report templates. Built to stand under Krit.Hardening and every other Krit.* package.
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.OmniFramework

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

Install-PSResource -Name Krit.OmniFramework

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 OmniFramework Framework PSFramework PSSharedGoods PSWriteHTML PSWriteOffice ImportExcel MultiOS CrossPlatform OSDetect Hardening MSP Automation

Functions

Write-KritBanner Get-KritBanner Get-KritPlatform Test-KritIsAdmin Test-KritIsElevated Get-KritToolInventory Find-KritTool Test-KritToolPresent Import-KritFoundation Get-KritFoundationStatus Write-KritLog Start-KritLogSession Stop-KritLogSession New-KritHtmlReport New-KritExcelReport Resolve-KritRepoRoot Get-KritConfig Get-KritProject Get-KritPath Test-KritSecretsLoaded Get-KritBrandSpec New-KritBrandedDocument

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes

1.1.0 - Brand pipeline.
 * NEW Get-KritBrandSpec - loads canonical brand-spec.json (colours, fonts,
   corporate identity, contact details, logo paths, template paths) with
   per-session caching + resolution-order fallbacks. Single source of truth
   for every Kritical-branded artefact.
 * NEW New-KritBrandedDocument - renders Markdown (or HTML) source to
   Kritical-branded PDF / DOCX / HTML in one call. Pulls brand spec from
   Get-KritBrandSpec. Applies primary #13365C + secondary #15AFD1 + Roboto
   headings + Assistant body. Inserts Horizontal_Logo.png header + ABN/ACN/
   address/tagline footer. Optional Outlook email-signature append.
   Engines: Pandoc + wkhtmltopdf (preferred) / Chrome+Edge headless
   (fallback). DOCX uses Pandoc --reference-doc against Huzaifa's
   Kritical-BaseTemplate-CURRENT.docx.
 * Brand inventory + asset locations documented at
   Github/KRTPax8ToShopifyConnector/reference/KRITICAL-BRAND-ASSET-INVENTORY-1507.md

1.0.2 - Resilience fix (PSFramework AppDomain collision).
 * Removed PSFramework/PSSharedGoods/PSWriteHTML/ImportExcel from
   RequiredModules. PowerShell hard-imports RequiredModules BEFORE the
   consuming module's psm1 runs, so any stale PSFramework already loaded
   in the session (e.g. an older PSFramework 1.0.0.1 from a transient
   dependency) caused Import-Module Krit.OmniFramework — and everything
   that depends on it (Krit.Hardening) — to fail with "Assembly with same
   name is already loaded".
 * Dependencies are now declared in ExternalModuleDependencies (PSData)
   so Install-Module Krit.OmniFramework STILL pulls them transitively on
   fresh PSGallery installs.
 * Import-KritFoundation now detects already-loaded PSFramework at ANY
   version and reuses it instead of force-upgrading, so Write-KritLog +
   everything downstream keeps working even when the AppDomain is
   locked to an older version.
 * Write-KritLog continues to degrade gracefully to JSONL when
   PSFramework is missing.

1.0.1 - Bug fix.
 * New-KritHtmlReport now auto-creates the parent directory of -OutFile
   before calling PSWriteHTML's Save-HTML (which would otherwise fall back
   to %TEMP% and emit a warning).

1.0.0 — Initial release.
 * Multi-OS platform detection (Windows / macOS / Linux + distro + arch + privilege).
 * FHS/LSB-aware tool inventory (Get-KritToolInventory walks every standard path per OS).
 * Foundation loader (Import-KritFoundation pulls PSFramework + PSSharedGoods + PSWriteHTML + ImportExcel in one call).
 * Structured logging via PSFramework (Write-KritLog with JSON + Application Insights sinks).
 * Branded HTML + Excel reports (New-KritHtmlReport / New-KritExcelReport) with the canonical Kritical banner embedded.
 * Repo-root + config resolution carried forward from the original Pax8FrameworkConfig.
 * Pester unit + e2e test suite.
 * Joshua Finley, Kritical Pty Ltd.

FileList

Version History

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