39246-vm/check_config.ps1
2026-03-20 02:38:40 +03:00

4 lines
266 B
PowerShell

$resp = (Invoke-WebRequest -Uri 'http://localhost:7000/api/config' -UseBasicParsing).Content | ConvertFrom-Json
$keys = @('scoring_enabled','scrape_window_enabled','boost_interval_mins','ai_filter_enabled')
$resp | Where-Object { $_.key -in $keys } | ConvertTo-Json