WMI (Windows Management Instrumentation) – WScript.Echo Technique
Introduction to WMI WScript.Echo Technique If your script editor or Scriptomatic gives you problems with multiple WScript.Echo commands. I will show you a technique for removing extra WScript.Echo command and adding VbCr code. Topics for WMI Secrets Technique – How to Strip Multiple Wscript.Echo commands Example – To display WMI …
Tutorial for Creating a User’s Mailbox with VBScript This page covers not only an example script to create a mailbox, but also the strategy and tactics you need to achieve this complex task. In fact, the secret is to have a spreadsheet full of the correct LDAP attributes needed to …
Introduction to Option Explicit The simple statement – Option Explicit – tightens up your scripts. What Option Explicit says is this: if a variable is not declared, then you cannot use it. The use of Option Explicit is twofold, to make sure that you declare variables, and to troubleshoot by …
Introduction to Querying Printers with WMI This WMI script offers a variety of solutions to printer problems on a Windows Network. WMI provides and impressive range of eight classes of printer object so it is possible to query any aspect of a printer. To let you into a secret, as …
VBScript WMI Disk Properties Most WMI scripts obtain information that is available by launching various GUIs. In the case of disks, we could launch the Disk Administrator and observe the partition information in the window. However, the great advantage of script is that we can filter the data, interrogate multiple …