Windows · PowerShell · WSL · Claude Code
Notes from a working
SQL Server DBA
I am a Database Reliability Engineer in Edinburgh looking after critical SQL Server estates. This is where the Windows, PowerShell, WSL and Claude Code side of that job gets written down: things I worked out once and have needed again since.
Start here
Four guides organise everything on this site. Each one collects the posts by task rather than by date.
- wsl31 postsWSL: The Complete GuideInstalling it, working with files across Windows and Linux, managing distributions, and fixing it when it sulks.open guide
- powershell44 postsPowerShell: The Complete GuideFiles and folders, CSVs, the Windows Firewall, scheduled tasks, and the cmdlets worth knowing by heart.open guide
- windows25 postsWindows Administration: The Complete GuideBuilding servers, domains and DNS, installing the tools you actually use, and the built-in commands that answer most questions.open guide
- claude-code15 postsClaude Code on Windows: The Complete GuideInstalling it natively or in WSL, the VS Code extension, CLAUDE.md and permissions, hooks, MCP, skills and subagents, and running it from PowerShell.open guide
Looking for the SQL Server material?
It moved to a site of its own. sqldba.blog has 150+ documented DBA scripts, a paste-your-error library, a page for practically every wait type, and the SSMS guide.
Visit sqldba.blog →
Latest posts
Newest first. 167 posts here since 2017.
- CLAUDE.md: Project Memory for Claude Code
- Install Claude Code on Windows, Native and in WSL
- Claude Code Only Keeps 30 Days of Transcripts
- Claude Code Permissions: Allow and Deny Rules in settings.json
- Claude Code Hooks: Run a Check After Every Edit
- Compact a WSL or Docker Desktop vhdx to Get Disk Space Back
- Add an MCP Server to Claude Code
- Resume a Claude Code Session With –continue and –resume
- Reset or Reinstall WSL Itself, Not Just a Distro
- Claude Code Subagents: Keep the Noise Out of Your Main Session
- Install PowerShell 7 on Windows and Keep Windows PowerShell 5.1
- Custom Slash Commands in Claude Code With Skills
- Plan Mode in Claude Code: Read First, Edit After
- Run Claude Code From a PowerShell Script With claude -p
- SSH Keys for GitHub on Windows With the OpenSSH Agent
- A Custom Claude Code Status Line in PowerShell
Browse by topic
Every post rolls up into one of these.
Not sure where to start?
Most people arrive here from a search for one specific thing. If that is you, the guide covering it will have the rest of the answer, and a few neighbours worth knowing.