NetDiagram-PS

1.3.0

Automatically discover your network topology and generate professional draw.io diagrams with Cisco icons, SNMP discovery, and multi-level device detection.

Minimum PowerShell version

7.4

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name NetDiagram-PS

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name NetDiagram-PS

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2025 Jacob Yoby. All rights reserved.

Package Details

Author(s)

  • Jacob Yoby

Tags

Network Discovery Diagram SNMP DrawIO Topology NetworkMapping Cisco LLDP Visualization

Functions

Import-Inventory Test-DeviceReachability Merge-Edges Get-LocalARPTable Resolve-IPHostname Get-MACVendor Invoke-PortScan Invoke-SnmpWalk Get-SnmpNeighbors Get-CommonSNMPStrings Export-DrawIO Export-Metadata Compare-NetworkScans

PSEditions

Core

Dependencies

This module has no dependencies.

Release Notes

Version 1.3.0 - Code-review hardening. Get-SnmpNeighbors now queries untested nodes by default (Reachable = $null), fixing the import-then-discover workflow, with an -OnlyReachable opt-in switch. Invoke-SnmpWalk redacts the community string from verbose output, validates all parameters (SNMP version set, IP/FQDN, OID format, argument-injection guard), restricts binary resolution to Application, and documents process-list exposure. LLDP/CDP parsing hardened (value-only, octet-validated, Hex-STRING aware) and clearly documented as best-effort. Export-DrawIO de-duplicates node IPs and parents nodes into their matching subnet containers. Invoke-PortScan validates port/timeout ranges and drops TCP 161 (SNMP is UDP). Resolve-IPHostname now honors -TimeoutSeconds via async DNS. Example wizard uses real CIDR host enumeration (with a /22 scan cap) instead of assuming /24.

FileList

Version History

Version Downloads Last updated
1.3.0 (current version) 3 7/30/2026