11 lines
496 B
PowerShell
11 lines
496 B
PowerShell
Write-Output "=== listen 8910 ==="
|
|
netstat -ano | findstr ":8910"
|
|
Write-Output "=== local health ==="
|
|
cmd /c "curl.exe -s http://127.0.0.1:8910/health"
|
|
Write-Output ""
|
|
Write-Output "=== agent logs ==="
|
|
Get-Content "C:\ytd-test\logs\agent-http.err.log" -Tail 30 -ErrorAction SilentlyContinue
|
|
Get-Content "C:\ytd-test\logs\agent-http.out.log" -Tail 30 -ErrorAction SilentlyContinue
|
|
Write-Output "=== pointer ==="
|
|
Get-Content "C:\ytd-test\ops\active-release.json" -Raw -ErrorAction SilentlyContinue
|