{"id":18995864,"url":"https://github.com/prateekkumarsingh/psdecode","last_synced_at":"2025-04-22T13:48:35.640Z","repository":{"id":88584460,"uuid":"113897371","full_name":"PrateekKumarSingh/PSDecode","owner":"PrateekKumarSingh","description":"PowerShell based module that can decode System Errors, Exit codes, port numbers, HTTP Statuses and more. This module can be used to quick lookup Error descriptions, to add verbosity to your custom error messages and for a better Error Handling, Investigation and Analysis.","archived":false,"fork":false,"pushed_at":"2018-12-17T16:24:02.000Z","size":2700,"stargazers_count":46,"open_issues_count":3,"forks_count":8,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-17T03:07:53.942Z","etag":null,"topics":["decode","error","errors","exitcode","httpstatus","port","portnumber","powershell","systemerr"],"latest_commit_sha":null,"homepage":"https://ridicurious.com/2017/12/14/decoding-errors-http-return-codes-using-powershell/","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PrateekKumarSingh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-11T19:08:07.000Z","updated_at":"2024-12-07T05:48:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"c2627842-a8c5-41f3-8e9d-03ce0dc5495d","html_url":"https://github.com/PrateekKumarSingh/PSDecode","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrateekKumarSingh%2FPSDecode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrateekKumarSingh%2FPSDecode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrateekKumarSingh%2FPSDecode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrateekKumarSingh%2FPSDecode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PrateekKumarSingh","download_url":"https://codeload.github.com/PrateekKumarSingh/PSDecode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250251897,"owners_count":21399900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["decode","error","errors","exitcode","httpstatus","port","portnumber","powershell","systemerr"],"created_at":"2024-11-08T17:33:09.554Z","updated_at":"2025-04-22T13:48:35.633Z","avatar_url":"https://github.com/PrateekKumarSingh.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"PSDecode\n-\nPowerShell based module that can decode System Errors, Exit codes, port numbers, HTTP Statuses and more.\nThis module can be used to quick lookup Error descriptions, to add verbosity to your custom error messages and for a better Error Handling, Investigation and Analysis. Read more on [my blog](https://ridicurious.com/2017/12/14/decoding-errors-http-return-codes-using-powershell/) about this module and how I web scraped the error code data.\n\n\n\n ![](https://raw.githubusercontent.com/PrateekKumarSingh/PSDecode/master/Media/Animation.gif)\n \nTechnically the module offers a set of cmdlets that query a database of Error/Exit codes, port numbers, and MAC addresses which totals to 83049 individual records as of now when I’m writing this.\n\nType| Range | Count | Comments\n:---------|:----------:|:---------:|:---------\n System Errors | 0-15999 | 2764 | Windows System Errors and Exit Codes\n Internet Errors | 12000-12175 | 114 | Subset of System Errors\n Port Numbers | 0-65535 | 56506 | Registered and Unregistered ports\n HTTP Status Codes | 100-599 | 63 | Status codes - Informational, Success, Redirection, Client/Server Error\n MAC Vendor Codes | N/A | 23602 | 16754 Manufacturers mapped to 23602 MAC Vendor bits\n\nUse-Case\n-\n\n* **Decode Exit Codes and Windows System errors**\n\n ![](https://raw.githubusercontent.com/PrateekKumarSingh/PSDecode/master/Media/Get-ErrorDetail.jpg)\n\n* **List all 'Listening' ports and service with description**\n\n ![](https://raw.githubusercontent.com/PrateekKumarSingh/PSDecode/master/Media/Get-Port.jpg)\n\n* **Identify MAC vendors for Network related troubleshooting**\n\n ![](https://raw.githubusercontent.com/PrateekKumarSingh/PSDecode/master/Media/Get-MACVendor.jpg)\n\n* **Adds verbosity to you HTTP requests**\n\n ![](https://raw.githubusercontent.com/PrateekKumarSingh/PSDecode/master/Media/Get-HTTPStatusCode.jpg)\n\n\nInstallation\n -\n \n #### [PowerShell V5](https://www.microsoft.com/en-us/download/details.aspx?id=50395) and Later\n You can install the `Gridify` module directly from the PowerShell Gallery\n\n * [Recommended] Install to your personal PowerShell Modules folder\n ```PowerShell\n Install-Module PSDecode -scope CurrentUser\n ```\n\n ![]()\n\n * [Requires Elevation] Install for Everyone (computer PowerShell Modules folder)\n ```PowerShell\n Install-Module PSDecode\n ```\n\n #### PowerShell V4 and Earlier\n To install to your personal modules folder run:\n\n ```PowerShell\n iex (new-object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/PrateekKumarSingh/PSDecode/master/Install.ps1')\n ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprateekkumarsingh%2Fpsdecode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprateekkumarsingh%2Fpsdecode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprateekkumarsingh%2Fpsdecode/lists"}