davil Posted July 2, 2008 Share Posted July 2, 2008 Hi all, I was wondering if anyone has any (windows) scripts or apps that can do any of the following? List printer drivers and which queues are actually using them (We are trying to clean up one of our servers) List printer drivers and their install dates and or created dates Find Corrupt printer drivers? Any of the above I have googled for VBS answers etc. and coming up short. There might be a couple of C alternatives or C++ but I suck at those languages big time. Why can't windows run on PHP? it would be so much easier then :-) anyhow sorry for such a noobish question but I'm really lost on this. We have 3 Presentation 4.0 servers here and 12 in another location. Our users run a system on the farm of 12 and the funniest part of it all is all 15 servers involved have different print drivers, different versions of software, different open ports etc. etc. and they're supposed to be identical. I almost fell off my chair laughing when I heard they were so disparate. But that's my company for you. (Public Service) anyway I have my work cut out for me lol. Anyone who has any suggestions I would greatly appreciate them. Thanks p.s. I just found this VBS script: strComputer = "ourserver" Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colInstalledPrinters = objWMIService.ExecQuery _ ("Select * from Win32_PrinterDriver") For each objPrinter in colInstalledPrinters Wscript.Echo "Configuration File: " & objPrinter.ConfigFile Wscript.Echo "Data File: " & objPrinter.DataFile Wscript.Echo "Description: " & objPrinter.Description Wscript.Echo "Driver Path: " & objPrinter.DriverPath Wscript.Echo "File Path: " & objPrinter.FilePath Wscript.Echo "Help File: " & objPrinter.HelpFile Wscript.Echo "INF Name: " & objPrinter.InfName Wscript.Echo "Monitor Name: " & objPrinter.MonitorName Wscript.Echo "Name: " & objPrinter.Name Wscript.Echo "OEM Url: " & objPrinter.OEMUrl Wscript.Echo "Supported Platform: " & objPrinter.SupportedPlatform Wscript.Echo "Version: " & objPrinter.Version Next and it works to show driver files so maybe I'll modify it to find out modified date for the files themselves but I'm not sure how effective / accurate that would be. Thanks again for reading my long post. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.