PowerShell $wr=[System.Net.WebRequest]::Create('https://www.example.com');$wr.method='HEAD';[int]$wr.GetResponse().StatusCode