![]() ![]() My thought process is: download the MAC tables from the switches, link those to the MAC addresses found in the IP scan. ![]() One specific instance is that I have two printers reporting as hp LaserJet 4250 (HP-ChaiSOE/1.0), one returns a MAC and one does not (in the IP scan). For example, I have HP printers that show their mac address with the Advanced IP Scanner, and then some of them do not. But sometimes the devices do not reply with their MAC address. I use a program called Advanced IP Scanner that returns the MAC address of devices through an IP scan. Bold = $True #= # Get printer information ForEach ( $Printserver in $Printservers ) $intRow īasically, I am trying to find out which ports on the switches are connected to printers. Item ( 1, 10 ) = "Share Name" #= $intRow = 2 $WorkBook = $Sheet. Item ( 1, 7 ) = "Driver Version" $Sheet. Powershell $Printservers = Get-Content "c:\users\bweatherley\scripts\printservers.txt" # Create new Excel workbook cls $Excel = New-Object -ComObject Excel. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |