← ClaudeAtlas

retail-pos-fleet-healthlisted

Health sweep across a fleet of Windows POS machines (Dynamics AX 2012 R3 Retail POS or similar) — or any Windows server/workstation fleet — over PowerShell Remoting. The bundled script checks each machine in parallel for stopped auto-start services (POS/Retail/SQL by default), local SQL Server instances with per-database sizes (flagging databases approaching the SQL Server Express 10 GB limit), low disk space, and recent Critical/Error event counts, returning ranked warnings as JSON. Use when the user wants to check/sweep/inspect the POS fleet or a set of Windows machines — e.g. "check all the POS machines", "which tills have problems", "is any POS offline database near the Express limit", "sweep the store machines for stopped services". Read-only. Requires PowerShell 7+, WinRM on the targets, and an admin credential (always prompted).
whobat/AI-Agent-skills · ★ 0 · AI & Automation · score 76
Install: claude install-skill whobat/AI-Agent-skills
# Retail POS Fleet Health > Sweeps **many Windows machines in parallel** over WinRM. The bundled script > `scripts/Invoke-PosFleetHealth.ps1` collects health signals and emits JSON with > **deterministically ranked warnings**; **the agent (you) writes the narrative.** > The script is read-only on the targets — it never starts/stops anything. `SCRIPT` = this skill's `scripts/Invoke-PosFleetHealth.ps1`. ## Credentials The script **always prompts** for an admin credential (`Get-Credential`) — held in memory for the run, reused across all hosts, never written to disk. Do not pass passwords on the command line. SQL checks run *inside* each remote session against localhost with that Windows login — no SQL credentials needed. ## How to run Always run with `pwsh`. Parse the JSON from stdout. | Want | Pass | |------|------| | **A few machines** | `-ComputerName POS001,POS002,POS003` | | **The whole fleet** | `-ServerListFile C:\ops\pos-hosts.txt` (one host per line, `#` comments OK) | | **Other services** | `-ServicePattern '*POS*','*Retail*','MSSQL*','MyService*'` | | **Stricter disk check** | `-DiskMinFreePct 15` | | **Event window** | `-EventHours 24` (default) | | **Express limit warn level** | `-ExpressWarnAtPct 80` (default; of `-ExpressLimitGB 10`) | | **Parallelism** | `-ThrottleLimit 12` (default) | | **Save full report** | `-OutFile C:\ops\fleet-health.json` (do this for 100 hosts!) | | **Transport/auth** | `-UseSSL` · `-Authentication Negotiate|Kerberos|CredSSP` | `