Blog Posts
Everything published on this blog since 2017, newest first. The SQL Server writing now lives at sqldba.blog.
Guides: Claude Code · PowerShell · WSL · Windows
-
How to Check Windows Firewall Status with PowerShell
Want to quickly check whether your Windows Firewall is enabled or disabled? This guide shows you how to use PowerShell to get the status of your local Windows…
-
How to Enable Windows Firewall with PowerShell (Set-NetFirewallProfile)
Run Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled True in an admin PowerShell window, then check with Get-NetFirewallProfile. What to check first, and what stops working once it is on.
-
How to Disable Windows Firewall with PowerShell
This post provides a demo on how to disable Windows Firewall with PowerShell on a Windows computer.
-
The Best Terminal for Windows
The best terminal for Windows is Windows Terminal. How to open it from Start, and what you get: tabs, a profile for every shell, shortcuts, split panes and the command palette.
-
Advanced File and Folder Creation with PowerShell
This post contains an advanced guide for creating and managing files and folders in PowerShell. It builds on the basics introduced in my previous post…
-
How to Restart WSL (wsl --shutdown and wsl --terminate)
Run wsl –shutdown to restart all of WSL, or wsl –terminate to restart one distro, then open it again. Which one you need after a .wslconfig change, and why it can start again by itself.
-
How to Upgrade WSL from Version 1 to Version 2
This guide explains how to upgrade your Windows Subsystem for Linux (WSL) distribution from Version 1 (WSL 1) to Version 2 (WSL 2).
-
How to Downgrade WSL 2 to WSL 1 (wsl --set-version)
Switch a WSL distro from WSL 2 to WSL 1 with wsl –set-version, check it with wsl -l -v, and enable WSL 1 support first if WSL was installed from the Microsoft Store.
-
How to Check Linux Version in Ubuntu
To check the Linux version running on an Ubuntu system, you can use the lsb_release -a or cat /etc/os-release commands. This is especially useful when…