79193025

Date: 2024-11-15 15:35:23
Score: 1.5
Natty:
Report link

I was thinking what if you try to use PowerShell commands instead of trying to screen scrape from Google Chrome?

Invoke-WebRequest -Uri "https://192.168.1.1" | Select-Object -ExpandProperty StatusCode

This will return a 200 series response if the site is healthy and 300, 400, 500 if the site is not healthy.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Vern Anderson