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. 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. So far I've been able to get all of this part working fairly neatly, with the information being pushed to .txt or .csv files.
The only other major part missing from the information I want to gather is network printers. 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 ones it's returning currently are Ricoh MFPs and we also have a mix of HP and other printers on the network as well.
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.
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.
Thanks ahead of time.