All Projects → lahell → PSDiscoveryProtocol

lahell / PSDiscoveryProtocol

Licence: MIT License
Capture and parse CDP and LLDP packets on local or remote computers

Programming Languages

powershell
5483 projects

Projects that are alternatives of or similar to PSDiscoveryProtocol

netcrawl
Netcrawl is a tool designed to discover and poll one or more devices, inventory them, and then provide useful data on the processed devices.
Stars: ✭ 49 (-16.95%)
Mutual labels:  cisco, cdp
IdParser
Parses PDF417 AAMVA-compliant driver's licenses and ID cards
Stars: ✭ 59 (+0%)
Mutual labels:  parse
Handy3DScanner
Repository for Handy 3D Scanner
Stars: ✭ 54 (-8.47%)
Mutual labels:  capture
babel-collect-imports
Recursively collect all the internal and external dependencies from an entry point
Stars: ✭ 33 (-44.07%)
Mutual labels:  parse
ImageAttachment
Example App to show how to pick an image from Camera/Gallery
Stars: ✭ 23 (-61.02%)
Mutual labels:  capture
ETW2JSON
Tool and library to convert ETW logs to JSON files
Stars: ✭ 66 (+11.86%)
Mutual labels:  etw
muninn
With a simple, flexible and maintainable configuration file, you can parse html and output json according to the schema you specify.
Stars: ✭ 38 (-35.59%)
Mutual labels:  parse
KeyPlexer
Capstone: Keylogger Trojan
Stars: ✭ 32 (-45.76%)
Mutual labels:  capture
vproto
Protobuf compiler and runtime in V
Stars: ✭ 42 (-28.81%)
Mutual labels:  parse
LemonDeer
Make m3u8 parse and video download as white magic.
Stars: ✭ 38 (-35.59%)
Mutual labels:  parse
ishell
Create shell environments with Python
Stars: ✭ 70 (+18.64%)
Mutual labels:  cisco
snapcrawl
Crawl a website and take screenshots
Stars: ✭ 37 (-37.29%)
Mutual labels:  capture
Sengiri
Sengiri is the screen recording utility. It can easily create GIF movie.
Stars: ✭ 23 (-61.02%)
Mutual labels:  capture
ciscoaxl
Python SDK for Cisco CUCM AXL API
Stars: ✭ 51 (-13.56%)
Mutual labels:  cisco
ValveFileVDF
C++ Parser and Writer for Valve Data Format (e.g. .vdf files used in steam)
Stars: ✭ 32 (-45.76%)
Mutual labels:  parse
angular-expression-parser
This library helps in achieving AngularJs equivalents of $parse, $eval and $watch in Angular.
Stars: ✭ 17 (-71.19%)
Mutual labels:  parse
common-words
Updated list of the 100 most common words in the English language. Useful for excluding these words from arrays.
Stars: ✭ 13 (-77.97%)
Mutual labels:  parse
fefe
Validate, sanitize and transform values with proper TypeScript types and zero dependencies.
Stars: ✭ 34 (-42.37%)
Mutual labels:  parse
php-video-url-parser
A Simple and efficient PHP Video URL Parser that provides you thumbnails and embed codes for various video streaming websites
Stars: ✭ 57 (-3.39%)
Mutual labels:  parse
rest-query-parser
Query Parser for REST
Stars: ✭ 29 (-50.85%)
Mutual labels:  parse

PSDiscoveryProtocol

Capture and parse CDP and LLDP packets on local or remote computers

CDP and LLDP

PSDiscoveryProtocol does not return all information available in CDP and LLDP packets. If you want to know what information is available use Export-Pcap and open the pcap file in Wireshark or another tool with a more complete implementation.

Installation

Install-Module -Name PSDiscoveryProtocol

SCCM Hardware Inventory

PSDiscoveryProtocol can add port information to SCCM Hardware Inventory on your Windows 10 clients.

Take a look here for details: PSDiscoveryProtocol-SCCM-HWInventory

Usage

On this page you will find a few examples of how to use this module.

For more examples please read help:

Get-Help -Name Invoke-DiscoveryProtocolCapture -Full
Get-Help -Name Get-DiscoveryProtocolData -Full
Get-Help -Name Export-Pcap -Full

Capture and parse LLDP on local computer

$Packet = Invoke-DiscoveryProtocolCapture -Type LLDP
Get-DiscoveryProtocolData -Packet $Packet

Output

Model       : WS-C2960-48TT-L
Description : HR Workstation
VLAN        : 10
Port        : Fa0/1
Device      : SWITCH1.domain.example
IPAddress   : 192.0.2.10
Computer    : COMPUTER1.domain.example
Type        : LLDP

Capture and parse CDP on remote computers

'COMPUTER1', 'COMPUTER2' | Invoke-DiscoveryProtocolCapture -Type CDP | Get-DiscoveryProtocolData

Output

Port      : FastEthernet0/1
Device    : SWITCH1.domain.example
Model     : cisco WS-C2960-48TT-L
IPAddress : 192.0.2.10
VLAN      : 10
Computer  : COMPUTER1.domain.example
Type      : CDP

Port      : FastEthernet0/2
Device    : SWITCH1.domain.example
Model     : cisco WS-C2960-48TT-L
IPAddress : 192.0.2.10
VLAN      : 20
Computer  : COMPUTER2.domain.example
Type      : CDP

Capture on remote computers and export to pcap

'COMPUTER1', 'COMPUTER2' | Invoke-DiscoveryProtocolCapture | Export-Pcap -Path packets.pcap

Speed up capturing in PowerShell 7

By leveraging the new -Parallel parameter on ForEach-Object we can capture simultaneously on multiple computers.

#Requires -Version 7
'COMPUTER1', 'COMPUTER2', 'COMPUTER3' | ForEach-Object -Parallel {
    Invoke-DiscoveryProtocolCapture -ComputerName $_ | Get-DiscoveryProtocolData
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].