Skip to content
Sixteen Pillars.
  • Framework
    • Blast Radius
    • Full Governance by Sixteen Pillars
    • State of the Estate
  • Capabilities
    • Services
  • Thinking
    • Topics
  • Who
  • Studio
  • Let’s talk

PowerShell

Reading Windows Event Logs at Scale With Get-WinEvent and FilterHashtable

October 28, 2026 by Richard King

A million-event Security log times out under Where-Object. Push the filter into the log with Get-WinEvent -FilterHashtable and -FilterXPath and pull the slice you need in seconds.

Categories Architecture Tags Audit & Evidence, Platform Selection, PowerShell

This fixes: Windows Task Scheduler result 0x1 and 0x41303 for a PowerShell job

October 26, 2026 by Richard King

Decode Task Scheduler result 0x1 and 0x41303 for a PowerShell 7 job: fix the program/arguments split, quote the -File path, and make the script own its exit code.

Categories Delivery & Build Tags Host Hardening, PowerShell, Schema Design & Migrations

Building a PowerShell Module With a Manifest and Pester 5 Tests

October 19, 2026 by Richard King

Package reusable PowerShell functions into a proper module: a .psm1 loader, a .psd1 manifest that controls exports and versioning, and a Pester 5 suite for CI.

Categories Delivery & Build Tags API Strategy, PowerShell, Python

Automating Windows Server Patching With PowerShell and PSWindowsUpdate

October 19, 2026 by Richard King

Automate Windows Server patching without WSUS using PSWindowsUpdate: scheduled scans, excluded drivers and previews, per-host reports, and a reboot confined to a maintenance window.

Categories Delivery & Build Tags Cron & Scheduled Jobs, Host Hardening, PowerShell, Schema Design & Migrations

Automating OS Patch Windows: unattended-upgrades on Linux and PSWindowsUpdate on Windows

October 16, 2026 by Richard King

Apply security updates on a schedule with reboots gated to a maintenance window and reporting that tells you what happened: unattended-upgrades on Linux, PSWindowsUpdate on Windows.

Categories Compliance & Risk Tags Audit & Evidence, Cron & Scheduled Jobs, Linux Administration, Maritime & Shipping, PowerShell, Schema Design & Migrations, systemd

This Fixes: WSL2 Has No Network or DNS After a Windows Update or VPN Connect

October 8, 2026 by Richard King

WSL2 loses DNS the moment you connect a corporate VPN, or silently after a Windows update. This is how to match the symptom to the right fix instead of copy-pasting a resolv.conf that gets overwritten.

Categories Delivery & Build Tags Firewall & Networking, Linux Administration, PowerShell

Safe Registry Operations in PowerShell: Read, Write and Roll Back

September 18, 2026 by Richard King

Read before you write, back up the exact subtree with reg export, write typed values, and hold a documented rollback — the PowerShell registry pattern change control accepts.

Categories Delivery & Build Tags Backup & Recovery, Change Governance, Git Workflow, PowerShell, Timeouts & Circuit Breakers

Configuring Windows Defender Firewall From PowerShell 7 Instead of the GUI

September 14, 2026 by Richard King

The Windows Defender Firewall GUI does not scale or leave an audit trail. Here are the PowerShell 7 equivalents: profile defaults, scoped rules, and a repeatable script.

Categories Delivery & Build Tags Audit & Evidence, Firewall & Networking, Idempotency & Retries, Infrastructure as Code, Maritime & Shipping, PowerShell

WSL2 Setup and Windows Interop That Actually Works for Development

September 14, 2026 by Richard King

WSL2 is excellent until interop bites. Install Ubuntu 24.04 properly, cap memory and CPU in .wslconfig, enable systemd, dodge the 9p filesystem cliff, and get localhost forwarding right.

Categories Delivery & Build Tags Git Workflow, Kubernetes & Containers, Linux Administration, Maritime & Shipping, PowerShell, systemd

Baseline Windows Server 2022 Setup: Core vs Desktop, Roles, and First Hardening Pass

August 18, 2026August 14, 2026 by Richard King

A scripted Windows Server 2022 baseline: choosing Server Core over Desktop Experience, joining the domain, installing only required roles, and a first hardening pass.

Categories Delivery & Build Tags Audit & Evidence, Firewall & Networking, Host Hardening, PowerShell
Older posts
Page1 Page2 Next →
Sixteen Pillars
Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
Storing your preferences — such as language or display settings — so the site works as you left it. These cookies are set automatically and do not require your consent.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. Some storage is set automatically to keep the site functioning — not based on your choices, but on technical requirements. This includes things like load balancing and session continuity.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}

Sixteen Pillars Technology Control Framework

About the framework Full pillar index



The Sixteen Pillars

  1. Asset & Estate Visibility
  2. Architecture Comprehension
  3. Data Trust & Lineage
  4. Dependency Mapping
  5. Decision Rights & Accountability
  6. Change Governance
  7. Investment & Portfolio Control
  8. Supplier & Third-Party Control
  9. Security Posture
  10. Identity & Access Control
  11. Resilience & Continuity
  12. Operational Capability
  13. Regulatory Adaptability
  14. Scalability & Performance Headroom
  15. Technical Debt & Sustainability
  16. Adaptability & Strategic Optionality

Services

  • All services
  • Fractional CTO
  • Technology Control Assessment
  • Technology Due Diligence
  • First 90 Days
  • Architecture Review
  • Pricing
  • Studio — build & rescue

Regulations

  • All regulations
  • DORA
  • MiCA
  • NIS2
  • EU AI Act
  • DORA ICT Third-Party Risk

Sectors

  • All sectors
  • Financial Services
  • Shipping & Maritime
  • iGaming
  • Digital Assets
  • Legal
  • eCommerce
  • Healthcare & Medical
  • Engineering

Company

  • About
  • Approach
  • Writing
  • Topics
  • Thinking
  • Control Matrix
  • Start a conversation
Cookie Policy Accessibility Statement

© Sixteen Pillars 2012 – 2026. All Rights Reserved.