Giter Club home page Giter Club logo

prateekkumarsingh / psdecode Goto Github PK

View Code? Open in Web Editor NEW
45.0 8.0 9.0 2.64 MB

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.

Home Page: https://ridicurious.com/2017/12/14/decoding-errors-http-return-codes-using-powershell/

PowerShell 100.00%
error errors exitcode port portnumber systemerr httpstatus decode powershell

psdecode's Issues

Missing MAC values for Get-MACVendor

While playing with the Get-MACVendor command I found it has some missing MAC entries (although one would consider them esoteric)

PS > (Get-NetAdapter).MacAddress | Get-MACVendor

MACAddress        ManufacturerName
----------        ----------------
BC-AE-C5-56-50-60 ASUSTek COMPUTER INC.
00-50-56-C0-00-08 VMware, Inc.
00-50-56-C0-00-01 VMware, Inc.
Get-MACVendor : Couldn't find Manufacturer information for 02-00-4C-4F-4F-50
At line:1 char:31
+ (Get-NetAdapter).MacAddress | Get-MACVendor
+                               ~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-MACVendor

Get-MACVendor : Couldn't find Manufacturer information for 00-FF-B9-3B-C6-57
At line:1 char:31
+ (Get-NetAdapter).MacAddress | Get-MACVendor
+                               ~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-MACVendor

Get-MACVendor : Couldn't find Manufacturer information for 0A-00-27-00-00-0D
At line:1 char:31
+ (Get-NetAdapter).MacAddress | Get-MACVendor
+                               ~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-MACVendor
PS > Get-NetAdapter

Name                      InterfaceDescription                    ifIndex Status       MacAddress             LinkSpeed
----                      --------------------                    ------- ------       ----------             ---------
Ethernet                  Realtek PCIe GBE Family Controller            9 Up           BC-AE-C5-56-50-60         1 Gbps
VMware Network Adapte...8 VMware Virtual Ethernet Adapter for ...      17 Up           00-50-56-C0-00-08       100 Mbps
VMware Network Adapte...1 VMware Virtual Ethernet Adapter for ...      16 Up           00-50-56-C0-00-01       100 Mbps
Npcap Loopback Adapter    Npcap Loopback Adapter                       10 Up           02-00-4C-4F-4F-50       1.2 Gbps
Ethernet 2                TAP-Windows Adapter V9                       12 Disconnected 00-FF-B9-3B-C6-57       100 Mbps
VirtualBox Host-Only N... VirtualBox Host-Only Ethernet Adapter        13 Up           0A-00-27-00-00-0D         1 Gbps

Add copiable examples in Readme

In the Readme you have images with come sample commands

For those of us that are lazy (me) or error prone to making mistakes whilst typing (also me) please add in the example code alongside the screenshots

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.