# ps-kit

PowerShell modules for Windows automation, verified downloads, release archives and Tailscale Serve. They run on Windows PowerShell 5.1 and PowerShell 7.

- Language: PowerShell
- Packages: 8 packages, 0 released
- Repository: https://github.com/uppercut-labs/ps-kit
- Release status checked: November 25, 2026

PowerShell modules are imported from their folder or copied onto $env:PSModulePath. They are not on the PowerShell Gallery. A package marked Not released yet has its source and README on GitHub and no published version yet.

## Packages

### DownloadVerified

Downloads a file only over HTTPS and only if its SHA-256 matches a pinned value, extracts a zip archive without letting an entry escape the destination, installs named files from it, and writes a receipt of what was installed.

- Language: PowerShell
- Status: Not released yet
- Source version: 0.1.0
- Source: https://github.com/uppercut-labs/ps-kit/tree/main/packages/download-verified

### ForegroundSampler

Samples the Windows foreground window on a timer and writes one JSON line per change. With -App it also reports whether an app's window came to the front during the run.

- Language: PowerShell
- Status: Not released yet
- Source version: 0.1.0
- Source: https://github.com/uppercut-labs/ps-kit/tree/main/packages/foreground-sampler

### NoActivate

Starts a Windows program so its first window never takes keyboard focus, keeps its windows on one display without activating them, and can run a program on a private desktop that is never shown.

- Language: PowerShell
- Status: Not released yet
- Source version: 0.1.0
- Source: https://github.com/uppercut-labs/ps-kit/tree/main/packages/no-activate

### OwnedTask

Registers a Windows scheduled task for a script you own, as the logged-on user, a built-in service account or a PSCredential (never a plain-text password), refuses to replace a task that belongs to someone else, and reads the task back to confirm it.

- Language: PowerShell
- Status: Not released yet
- Source version: 0.1.0
- Source: https://github.com/uppercut-labs/ps-kit/tree/main/packages/owned-task

### ProcessTreeMemory

Reports the private memory and working set of a Windows process and all of its descendants, as one object, with an optional budget and ceiling check.

- Language: PowerShell
- Status: Not released yet
- Source version: 0.1.0
- Source: https://github.com/uppercut-labs/ps-kit/tree/main/packages/process-tree-memory

### ReleaseArtifact

Builds a release archive from a staged folder: checks the Git tree is clean and names the commit, writes release.json and SHA256SUMS, zips with forward-slash entry names and a .sha256 sidecar, and smoke-tests the finished archive by unpacking it into an empty folder.

- Language: PowerShell
- Status: Not released yet
- Source version: 0.1.0
- Source: https://github.com/uppercut-labs/ps-kit/tree/main/packages/release-artifact

### RunAsUserShortcut

Runs a Windows PowerShell script in the owner's normal shell, outside a packaged app's redirected profile, by handing it to Explorer as a shortcut, and returns the result file it writes.

- Language: PowerShell
- Status: Not released yet
- Source version: 0.1.0
- Source: https://github.com/uppercut-labs/ps-kit/tree/main/packages/run-as-user-shortcut

### TailscaleServe

Add, remove and list Tailscale Serve path mappings, and set up Tailscale Services (svc: names). Idempotent, verified by reading the configuration back, and tailnet only: path changes are refused when Funnel is enabled on the port, and nothing here runs tailscale funnel.

- Language: PowerShell
- Status: Not released yet
- Source version: 0.2.0
- Source: https://github.com/uppercut-labs/ps-kit/tree/main/packages/tailscale-serve

All kits: https://kits.uppercut-labs.com/
