![]() I'm a big fan of doing something cool and interesting, but I'm a bigger fan of not re-inventing wheels, especially if I'm not selling wheels, I'm driving people around. You're going to have to build a database of all printer vendors and product lines, with the way to query the product info for each of them - if it's via SNMP, or telnet, or scraping a HTTP(S) page. If you do it yourself from scratch, you have to know how each printer vendor configured the HTML for their management pages (and there could be multiple product lines per vendor) and you'd have to scrape that. ![]() They've already put the time into figuring out the hooks of most vendor devices to get this info. I work for a consulting firm that does IT assessments for small companies, and we use it to get a really good first-pass of their entire inventory. PowerShell Copy PS C:\> Install-AIPScanner -SqlServerInstance SQLSERVER1\AIPSCANNER -Cluster EU This command installs the Azure Information Protection Scanner service by using a SQL Server instance named AIPSCANNER, which runs on the server named SQLSERVER1. Have you looked into Spiceworks? It does a bang-up job of gathering all (or at least most) of that info and a lot more, and it's free. I'm going to answer your question with a different method of getting what you want, not a way to do it the way you're asking. I've not found anything for retrieving printers' info using PS other than getting local printers or printers off of a print server and most of the companies we deal with do not have print servers. My question is if there is a method or a function within Powershell to retrieve the IP, Make and Model of printers on a network? Currently the script takes the users input for a network to scan in the form of X.X.X.0 and retrieves information on a per-IP basis (via a loop and counter) up to X.X.X.254 so if the method/cmdlet is IP/host specific that is fine. ![]() Scan every IPv4 range Scan an entire subnet based on an IPv4 address. The only ones it's returning currently are Ricoh MFPs and we also have a mix of HP and other printers on the network as well. Powerful asynchronous IPv4 network scanner for PowerShell. So far the closest thing I can find is a method to return the uPNP devices on the network, which does not return all of the printers. ![]() The only other major part missing from the information I want to gather is network printers. So far I've been able to get all of this part working fairly neatly, with the information being pushed to. Basically this is to compile a list of information for site-evaluations before merging networks into ours when our company purchases a new office/other company. #Powershell ip scanner windows#Currently I'm working on creating a PS script to scan a network and retrieve all of the Windows Servers, their product keys, SQL Server product keys, CPU, RAM, Network Shares and Services on all the Windows servers found. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |