Skip to content

Instantly share code, notes, and snippets.

@JamesTryand
Created October 10, 2013 09:26
Show Gist options
  • Select an option

  • Save JamesTryand/6915577 to your computer and use it in GitHub Desktop.

Select an option

Save JamesTryand/6915577 to your computer and use it in GitHub Desktop.
Windows Http Status Codes
$windowsHttpCodes = [net.httpstatuscode]|gm -s|?{$_.membertype -eq 'Property'}|select name, @{n='code';e={ iex "[int][net.httpstatuscode]::$($_.Name)" } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment