Emergency server help: get in touch

Scripts

Downloadable scripts and automation for server administrators.

Tested scripts for server administrators. Most are free and released under the MIT License unless the script page says otherwise. Read before you run. Press / to search.

38 scripts

Secure Boot 2023 Certificate Check: PowerShell Script for Many PCs

Free read-only PowerShell script that checks Secure Boot, the 2023 Microsoft certificates in DB and KEK, UEFICA2023Status and events 1801/1808 on many Windows computers.

October 6, 2026

Block RDP Brute Force on Windows Server: PowerShell Script

Free PowerShell script that reads failed RDP logons (event 4625), counts them per source IP and blocks repeat offenders with Windows Firewall rules, with allow-list and -WhatIf.

October 6, 2026

NTFS Permissions Report to CSV: PowerShell Folder ACL Script

Free PowerShell script that exports NTFS folder permissions to CSV: identity, rights, allow/deny, inherited or explicit, scope, with errors logged.

October 6, 2026

Kerberos RC4 Audit Script: Find RC4 Accounts and Tickets

Free PowerShell script that finds AD accounts allowing or requiring Kerberos RC4 and counts RC4 tickets issued by your DCs (events 4769/4768).

October 6, 2026

Inactive AD Accounts Report: PowerShell Script with Safe Disable

Free PowerShell script that reports AD users and computers inactive for N days (lastLogonTimestamp), with never-logged-on detection and a safe -WhatIf disable.

October 6, 2026

Export AD Users to CSV: PowerShell Script with Last Logon

Free PowerShell script that exports Active Directory users to CSV or HTML with last logon, password age, manager, department and OU.

October 6, 2026

AD Privileged Group Report: Domain Admins and adminCount Audit

Free PowerShell script that reports every direct and nested member of Domain Admins and other privileged AD groups, plus adminCount=1 orphans.

October 6, 2026

AD Nested Group Membership: PowerShell Tree with Loop Detection

Free PowerShell script that shows the full nested group membership tree of an AD user or group, with paths, primary group and loop detection.

October 6, 2026

Locked Out AD Users Report: PowerShell Script with Lockout Source

Free PowerShell script that lists locked-out AD users, reads event 4740 on the PDC emulator for the caller computer, and can unlock safely with -WhatIf.

October 6, 2026

AD Health Check Report: dcdiag and repadmin PowerShell Script

Free PowerShell script that runs dcdiag, repadmin /replsummary, w32tm and SYSVOL DFSR checks on every DC and saves a colour-coded HTML report.

October 6, 2026

AD Change Audit Reporter: Find Who Changed Active Directory (PowerShell)

Read-only PowerShell report of Active Directory changes: who changed which user, group or computer, old and new values, and the source workstation when the logs allow it.

October 6, 2026

WordPress Version Audit: Find Every WordPress Site and Its Version

Free bash script that finds every WordPress install on cPanel, DirectAdmin or plain servers and flags core versions below 7.0.3 (CVE-2026-64638).

October 6, 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.