The printer has it's own unique PortName and unique ShareName. Any help would be appreciated.

Cathy

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

1

Cathy - here is one possible solution.  Use this VBS as a custom software inventory item. 

strComputer = "."

Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set colInstalledPrinters =  objWMIService.ExecQuery("Select * from Win32_PrinterConfiguration")

For Each objPrinter in colInstalledPrinters

if objPrinter.Name = "Fax" Then

    Wscript.Echo "Name: " & objPrinter.Name

    Wscript.Echo "Driver Version: " & objPrinter.DriverVersion

end If

Next

 

This will run everytime inventory runs on the computer; change the If statement above accordingly.

Then, you can jump to the Asset module and create a new Software Asset for the Custom Software Inventory rule you defined above.  

Next you need to link a License Asset to the Software Asset by creating a new License Asset.

 

That should work.  

 

Also, once you have the Custom Softare Inventory item created, you can also just report on it.

 

good luck!

 

 

 

Finall

Answered 06/25/2013 by: Jbr32
Tenth Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity