How to script enumerating installed printer drivers?
I have a vbscript that enumerates all the printers on a given server, and includes most of the information I need. The last piece I need help with is identify which processors have drivers installed. I need to verify that both x64 and x86 are installed.
The query itself is:
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_Printer",,48)