bench-run

command
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2026 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Maintainer-only WinRM script runner against the Hyper-V bench. Lets you run an arbitrary PowerShell script (incl. PSDirect into running guests, Mount-VHD, panther-log greps) without standing up a full terraform plan/apply. Reads HYPERV_HOST/USERNAME/PASSWORD from env.

Usage:

set -a; source .env.local; set +a
go run ./hack/bench-run 'Get-VM | Select-Object Name, State'

Used heavily during docs/spikes/09 to grep Setup logs from inside the partially-installed lab DC. Kept under hack/ rather than promoted to a cmd/ binary because it's deliberately small and the usage pattern is "edit the script literal at the call site."

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL