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...
vbs
Resolve UninstallString from Partial DisplayName
I want to automate the removal of an application using a query to the registry using Visual Basic Script (VBS) to get the Uninstall string (the command that would be executed if you went into Control Panel Add/Remove and Un-installed a specific application). I have...
Password Obfuscation in VBS Admin Scripts
Sometimes you may want to authenticate to a remote share and do some admin task like create a zipped backup file on your local computer. The problem with the following script fragment is that the raw VBS file contains a plain text password. So how do you hide the...
Scripting SNMPGet.exe using VBScript
Every month I have to submit page counts to our printer supplier. Usually it involves connecting to each printers administration webpage counting up the different totals (black/white, colour) and then sending that back to them. Here is a VBScript function that calls...