Commit Graph
2 Commits
Author SHA1 Message Date
Simone 057bfcf63a fix(scripts): satisfy PSScriptAnalyzer (lint gate)
- Remove-Securely: suppress PSUseShouldProcessForStateChangingFunctions
  (internal best-effort shred; ShouldProcess prompts are undesirable)
  + add [CmdletBinding()].
- Replace the two empty catch blocks (Set-CIGuestCredential.ps1,
  Test-CIGuestWinRM.ps1) with Write-Verbose so PSAvoidUsingEmptyCatchBlock
  is satisfied while keeping best-effort behavior.
2026-05-17 22:31:34 +02:00
Simone 953d5b1e02 feat(scripts): add Test-CIGuestWinRM.ps1 diagnostic
Reproduces the orchestrator WinRM readiness probe as SYSTEM (the
act_runner account) and surfaces the real error the silent
is_ready() swallows: TCP reachability, guest hostname from the TLS
cert CN, and an auth x username-form matrix, with a classified
fix recommendation.
2026-05-17 12:24:35 +02:00