mirror of
https://github.com/amidaware/community-scripts.git
synced 2026-04-26 06:25:54 +03:00
[PR #4] [MERGED] Get Switch name and port via LLDP query #324
Labels
No labels
enhancement
good first issue
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/community-scripts#324
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/amidaware/community-scripts/pull/4
Author: @yaroz
Created: 2/11/2022
Status: ✅ Merged
Merged: 2/11/2022
Merged by: @silversword411
Base:
main← Head:main📝 Commits (1)
7ea5effGet Switch name and port via LLDP query📊 Changes
1 file changed (+24 additions, -0 deletions)
View changed files
➕
scripts_wip/Win_LLDPInfo.ps1(+24 -0)📄 Description
This script uses https://github.com/lahell/PSDiscoveryProtocol module to get switch name, port, and description and outputs it as "Switch: $($lldp.Device) - Port: $($lldp.port) - Port Description: $($lldp.portdescription)"
The do..until loop will run the command until the result is not a polycom phone.. useful if you're daisy chained through an IP phone.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.