# Sysadmins of the North

> Practical, step-by-step guides for Windows Server, IIS, Active Directory, PowerShell, OpenSSH, monitoring, MySQL, PHP and GNU/Linux. Written by sysadmin Jan Reilink, based on real problems from his day job, with commands and scripts you can use right away.

The topic hubs below bundle the articles per subject and are the best starting point. Articles are in English and are kept up to date; older posts about legacy versions (such as IIS 6.0) are kept on purpose.

## Topic hubs

- [IIS administration & hardening guides](https://www.saotn.org/iis/): Deploy, secure and optimize Internet Information Services (IIS): web.config, URL Rewrite rules, HSTS hardening, application pools and remote management on Windows Server.
- [Active Directory and Group Policy guides](https://www.saotn.org/active-directory/): Find SPNs, query Active Directory with PowerShell, Group Policy settings, DNS and domain controller fixes.
- [OpenSSH on Windows: install, keys, tunnels and WSL](https://www.saotn.org/openssh-windows/): Install and configure sshd on Windows, SSH keys from Active Directory, YubiKey FIDO2, WSL 2 and SSH tunnels for RDP and KVM.
- [Server monitoring with Zabbix, Monit and PowerShell](https://www.saotn.org/monitoring/): Monitor Windows Server, IIS, ASP.NET and SQL Server with Zabbix, Performance Counters and PowerShell, plus Monit on Linux.
- [MySQL and MariaDB administration and optimization guides](https://www.saotn.org/mysql/): InnoDB tuning, mysqlcheck and mysqldump, connecting from PHP and .NET, and lean WordPress and Joomla databases.
- [PHP configuration, performance and security guides](https://www.saotn.org/php/): PHP on Windows Server IIS and Linux: OPcache and realpath_cache_size tuning, MySQL and SQL Server connections, upgrade errors and security.
- [Simple PowerShell introduction for Windows Server administration, automation and scripting](https://www.saotn.org/codebase/powershell-introduction-windows-server-administration-automation-scripting/): PowerShell for Windows Server administration, software installation, automation and scripting, with links to all PowerShell articles.

## Key articles

- [List all SPNs used in your Active Directory](https://www.saotn.org/windows-server/list-all-spns-used-in-your-active-directory/): Three methods to list Service Principal Names (SPNs) with setspn.exe, PowerShell and dsquery, plus a setspn command reference.
- [Install IIS in Windows 11 using PowerShell](https://www.saotn.org/windows-server/install-iis-in-windows-11-using-powershell/): Install IIS and its features on a Windows 11 development station with PowerShell.
- [How to remove IIS from Windows Server using PowerShell](https://www.saotn.org/windows-server/how-to-remove-iis-from-windows-server-using-powershell/): Remove IIS completely from Windows Server with PowerShell.
- [How to install the Web-WebSockets feature in IIS using PowerShell](https://www.saotn.org/windows-server/install-the-web-websockets-feature-in-iis-using-powershell/): Enable WebSocket protocol support in IIS and ASP.NET 4.8 on Windows Server.
- [Use PowerShell with SSL client certificates for HTTPS GET requests](https://www.saotn.org/codebase/use-powershell-with-ssl-client-certificates-for-https-get-requests/): Use a specific TLS client certificate or thumbprint for outgoing HTTPS requests in PowerShell.
- [PowerShell return value, exit code, or ErrorLevel equivalent](https://www.saotn.org/codebase/powershell-return-value-exit-code-or-errorlevel-equivalent/): Check whether an external command succeeded with $? and $LASTEXITCODE.
- [How-to fix Windows Defender error "Get-MpComputerStatus : The extrinsic Method could not be executed."](https://www.saotn.org/windows-server/how-to-fix-windows-defender-error-get-mpcomputerstatus-the-extrinsic-method-could-not-be-executed/): Fix this error when enabling Windows Defender per GPO.
- [Enable NTFS long paths through GPO in Windows Server](https://www.saotn.org/windows-server/enable-ntfs-long-paths-through-gpo-in-windows-server/): Lift the 260 character path limit with a GPO or the LongPathsEnabled registry value.
- [Force BITS to download WSUS updates in the foreground in Windows Server](https://www.saotn.org/windows-server/force-bits-to-download-wsus-updates-in-the-foreground-in-windows-server/): Speed up WSUS downloads by giving BITS foreground priority.
- [Install SQL Server cumulative updates silently](https://www.saotn.org/windows-server/install-sql-server-cumulative-updates-silently/): Install SQL Server cumulative updates (CU) unattended with PowerShell.
- [Get Hyper-V guest serial number with PowerShell](https://www.saotn.org/windows-server/get-hyper-v-guest-serial-number-with-powershell/): Get the serial number of a Hyper-V virtual machine with PowerShell.
- [Configure Windows Debugging Symbols in WinDbg](https://www.saotn.org/windows-server/configure-windows-debugging-symbols-in-windbg/): Set the WinDbg symbol path to the Microsoft public symbol server and debug crash dumps.
- [Import .reg file in Windows Registry silently](https://www.saotn.org/windows-server/import-reg-file-in-windows-registry-silently/): Import a .reg file without prompts on Windows 11, 10 and Windows Server.
- [Install OpenSSH in Windows Server](https://www.saotn.org/windows-server/install-openssh-in-windows-server/): Install and configure the Microsoft OpenSSH Server on Windows Server 2022, 2019 and 2016.
- [Windows 11 and WSL 2 DevOps environment](https://www.saotn.org/windows-server/windows-11-and-wsl-2-devops-environment/): The settings and tools for a Windows 11 and Ubuntu WSL 2 DevOps / SysOps workstation.
- [OpenSSL Cheat Sheet: Common SSL / TLS Commands](https://www.saotn.org/useful/openssl-cheat-sheet-common-ssl-tls-commands/): Certificate conversion (PFX, PEM, DER), CSR generation and remote SSL / TLS verification for Windows and Linux admins.
- [MySQL InnoDB performance improvement: InnoDB buffer pool instances - Updated!](https://www.saotn.org/gnu-linux/mysql-innodb-performance-improvement/): Tune the InnoDB buffer pool and its instances, and read/write I/O threads, for heavy InnoDB workloads.

## Categories

- [Windows Server](https://www.saotn.org/windows-server/)
- [Codebase](https://www.saotn.org/codebase/): scripts and code snippets, mostly PowerShell
- [GNU/Linux](https://www.saotn.org/gnu-linux/)
- [Web applications](https://www.saotn.org/web-applications/)
- [WordPress](https://www.saotn.org/web-applications/wordpress/)
- [Umbraco](https://www.saotn.org/web-applications/umbraco/)
- [Useful](https://www.saotn.org/useful/)
- [Security](https://www.saotn.org/security/)

## About

- [About](https://www.saotn.org/about/): About Jan Reilink and Sysadmins of the North
- [Support Sysadmins of the North](https://www.saotn.org/donate/): Donate to support the site
- [Contact](https://www.saotn.org/contact/)

## Optional

- [Sitemap index](https://www.saotn.org/sitemap_index.xml)
