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.
- wsl32 postsWSL: The Complete GuideInstalling it, working with files across Windows and Linux, managing distributions, and fixing it when it sulks.open guide
- powershell47 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-code17 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. 179 posts here since 2017.
- Fix “UnicodeEncodeError: ‘charmap’ codec can’t encode character” in Python on Windows
- Copy PowerShell Output to the Clipboard (Set-Clipboard)
- Claude Code: Missing “mcpServers”, found “servers” instead
- CLAUDE.md: Project Memory for Claude Code
- Find and Edit Your PowerShell Profile ($PROFILE)
- “claude is not recognized” on Windows: Fix the PATH (Claude Code)
- Install Claude Code on Windows, Native and in WSL
- Claude Code Only Keeps 30 Days of Transcripts
- List Installed Windows Updates with Get-HotFix
- Fix “A positional parameter cannot be found that accepts argument” in PowerShell
- Claude Code Permissions: Allow and Deny Rules in settings.json
- Get Your IP Address in PowerShell
- Install a WSL Distro on Another Drive
- List Installed Programs with PowerShell
- Move a WSL Distro Off the C: Drive
- Get a File Hash in PowerShell (Verify a Download)
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.