Emergency server help: get in touch

Automation

Automation scripts and guides: Bash and PowerShell scripts, cron jobs, systemd timers, APIs and tools that take repetitive work off admins.

Microsoft 365 User Offboarding PowerShell Script (with -WhatIf)

Free PowerShell script for Microsoft 365 offboarding: block sign-in, revoke sessions, shared mailbox, auto-reply, forward to manager, groups and licences, with -WhatIf and a log.

October 6, 2026

Transcribe Asterisk and FreePBX Call Recordings on Your Own Server (faster-whisper, Tested)

A Python script that transcribes Asterisk, FreePBX and Vicidial recordings (.gsm, WAV49, µ-law) on your own CPU server with faster-whisper, splits stereo calls into caller and agent, and writes TXT, SRT and JSON.

October 6, 2026

Asterisk Recordings to MP3: Bulk Convert FreePBX Call Recordings

Converts Asterisk, FreePBX and Issabel call recordings (WAV, WAV49, GSM, µ-law, SLN) to small mono MP3 files from cron, verifies each file and keeps the FreePBX call log player working.

October 3, 2026

Multi-Server Health Check over SSH Pro

A multi-server health check that logs in to every server in a list over SSH, in parallel, and grades load, memory, disk, inodes, units, updates, clock and mail queue as OK, WARN or FAIL.

September 30, 2026

Restic Backup Script for Offsite Backups

A restic backup script for cron: dumps every MariaDB/MySQL database, backs up to any restic repository, applies daily/weekly/monthly retention, checks integrity and test-restores a random file.

September 30, 2026

Disk and Inode Alert

A disk and inode alert for cron: checks every real filesystem for space and inode use, estimates days until full from growth between runs, and lists the largest directories when a threshold is crossed.

September 30, 2026

Backup Verify Script

A backup verify script that checks every account and database series: fresh, not shrinking, opens cleanly, and present for every expected account. Anything it cannot test is a failure.

September 30, 2026

AD Password Expiry Email: Reliable PowerShell Reminder Script in 6 Steps

Send HTML reminders before Active Directory passwords expire: read msDS-UserPasswordExpiryTimeComputed so fine-grained policies are respected, send through Microsoft Graph with a scoped app or through an SMTP relay with MailKit, log every message and run it daily as a gMSA scheduled task with a test mode.

September 30, 2026

Find Inactive AD Users and Computers: PowerShell Cleanup in 5 Steps

Find stale Active Directory user and computer accounts with Search-ADAccount and Get-ADComputer, allow for lastLogonTimestamp replication lag, exclude service accounts, then disable, quarantine and delete them on a schedule with a full report and rollback.

September 30, 2026

Bulk Create AD Users from CSV: PowerShell Script in 7 Steps

A complete PowerShell workflow to create Active Directory users from a CSV file: a column template, input validation, unique sAMAccountName and UPN generation, OU placement, random initial passwords, group membership, logging, a -WhatIf dry run, updates with Set-ADUser and rollback.

September 30, 2026

Get-ADUser PowerShell Examples: 25 Queries for Active Directory

Twenty-five tested Get-ADUser queries for Windows Server 2016 to 2025: identity, filters, LDAP filters, OU scope, disabled, locked and expired accounts, last logon, password expiry, group membership, CSV reports and performance tips.

September 30, 2026

PowerShell Logon Script Group Policy: 4 Reliable Ways to Run Scripts

Run PowerShell scripts at user logon or computer startup on Windows 11 and Windows Server 2025 with Group Policy: the PowerShell Scripts tab, where to store scripts, execution policy, timing settings, scheduled tasks, Intune scripts and troubleshooting.

September 30, 2026

Free website test

Is your website set up right?

Check SSL, security headers, redirects, robots.txt, sitemap, llms.txt and security.txt in one test. It takes about 30 seconds.