VBS to Answer how many fax devices a Windows Fax Server has.

Written by James McDonald

May 1, 2012

Set FaxServer = WScript.CreateObject("FAXCOMEX.FaxServer") 
FaxServer.Connect ""
' use empty quotes if you want the local machine
set FaxDevices = FaxServer.GetDevices()

msgbox(FaxDevices.count)

Discovered that this only queries physical fax devices that show up in Fax Manager not the remotely connected faxes that appear per user.

0 Comments

Submit a Comment

Your email address will not be published.

You May Also Like…

ZPL SBPL

Zebra Printer Language http://labelary.com/viewer.html The above website has a page where you can enter ZPL and it...

PHP Iterators

Just came across a Youtube talk "Iterators in PHP" by Jake Smith published in 2014 that steps through the many...

PHP array_map Multiple Arrays

array_map can take multiple arrays. I like how it starts mapping through them starting at the first element of each...