Query HTTP Status Code detailed information using Powershell

Web harvest HTTP Status code information from a website and wrap it in a function which can query these statuses to add more verbosity to my web requests.

On top of that, once I have the HTTP Status codes and their description in a CSV, JSON or XML format,  I can repurpose this data in any program/script as desired which is obviously way better than Googling it each and every time when troubleshooting such errors.… Read More Query HTTP Status Code detailed information using Powershell

Advertisements

4 ways to send output to NULL in PowerShell

1. Using Out-Null Cmdlet : Hides/discards the output instead of sending it down the pipeline or displaying it.

2. Typecasting to [void] : This is more of a very C#-flavored trick

3. Redirection to $NULL:  Redirecting the output to the Automatic variable $Null

4 . Assignment to $NULL: Assigning the output to the Automatic variable $Null… Read More 4 ways to send output to NULL in PowerShell