This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
This script gets MAC address tables from Cisco routers/switches running IOS using the SSH protocol. | |
.DESCRIPTION | |
There's a newer version of this here: https://github.com/supercheetah/winsysadmintools | |
The script uses the Plink (command line version of PuTTY, http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html) | |
to get the output of the command "show mac address-table" and put into a object array (i.e. table) that is outputted to | |
Out-GridView, and can optionally be saved to a CSV file. |
NewerOlder