PowerShell Monitor Windows Services and Auto-Restart Failed Ones
A service that dies silently can take down critical workloads before anyone notices. This watchdog script monitors a list of services and auto-restarts failures with email
Commands Tips
A service that dies silently can take down critical workloads before anyone notices. This watchdog script monitors a list of services and auto-restarts failures with email
Windows Firewall rules accumulate silently. This script exports every inbound and outbound rule with its port and address filter details so you can audit for risk and redundancy.
Shared mailboxes are the workhorse of team email, but managing them manually in the EAC is slow. This guide covers every shared mailbox operation you can automate with EXO
Never be surprised by a full disk again. This script polls all servers for drive capacity, marks critical volumes in red, and emails a formatted HTML report on a daily schedule.
Deeply nested AD groups are a silent access management risk. This script recursively maps every group’s membership chain and flags nesting beyond a configurable depth limit.
Creating 50 AD accounts one at a time is a nightmare. This guide shows a robust bulk-creation script with CSV input validation, password generation, and group assignment baked in.
Governing Microsoft Teams sprawl starts with an accurate inventory. This script pages through all teams, their channels, and ownership data using the Graph SDK and exports a full
PowerShell 7 runs on Linux, but writing truly cross-platform scripts requires understanding path handling, permission models, and how to interop with bash and native tools
Pester v5 changed the game with strict test isolation, BeforeAll scoping, and improved mock behavior. This guide walks through testing a real admin function from scratch.
DSC v3 is a complete architectural rewrite. Resources are now standalone executables, the LCM is gone, and it runs on Linux. Here is a practical first-steps guide to DSC v3.