Author: Peter Whyte
-
Run Claude Code From a PowerShell Script With claude -p
claude -p runs one prompt and exits, which makes it a command you can put in a script. Piping a log in, getting JSON out and reading it with ConvertFrom-Json, allowing tools without prompts, –bare for a clean run, continuing a conversation, and the quoting that trips PowerShell.
-
SSH Keys for GitHub on Windows With the OpenSSH Agent
Generate an ed25519 key, turn on the built-in Windows ssh-agent service, add the key to GitHub, point Git at the Windows OpenSSH so git push stops asking for the passphrase, and switch remotes to SSH.
-
A Custom Claude Code Status Line in PowerShell
A status line is a script Claude Code runs with session JSON on stdin and prints under the prompt: model, folder, git branch, context used, cost. The PowerShell version for Windows, the settings.json entry with the forward-slash path, the fields you can show, and /statusline.
-
Rewind Claude Code Edits With Checkpoints
Claude went the wrong way 3 prompts ago. Esc twice opens the rewind menu: restore the code, the conversation, or both, to any earlier prompt, or summarise a stretch to free context. What checkpoints track, what they do not, and when git is still the undo.
-
Where My SQL Server Writing Lives Now
The SQL Server side of this blog moved to sqldba.blog: what is over there, how it is organised, and what happens to the Windows and PowerShell material here.
-
Claude Code in VS Code on Windows: the Extension, the CLI and WSL
The Claude Code extension for VS Code: installing it, opening the panel, signing in, how it relates to the claude you run in a terminal, the shortcuts and settings that matter on Windows, and what changes in a WSL or remote window.
-
Windows Administration: The Complete Guide
Every Windows administration post on this site in one place: building servers, domains and DNS, installing the tools you actually use, and the built-in commands that answer most questions before you start guessing.
-
PowerShell for Windows Admins: The Complete Guide
Every PowerShell guide on this site grouped by task: files and folders, CSVs, the Windows Firewall, scheduled tasks, and the cmdlets worth knowing by heart.
-
WSL: The Complete Guide for Windows Admins
Every WSL guide on this site in one place: install, file access, managing distributions, restarting, and the commands worth memorising.