WMI – Listing Processes
Listing Processes with Win32_Process This page is the foundation for a trilogy of Process pages. The sequence is: list, stop and finally start (restart) the process. Even if your mission is to start or stop a process, the logical place to begin is with listing the processes running on a …
Restart Service VBScript This is the page where I show you how to create a Microsoft WMI script that starts or stops a Windows service on a remote computer. (Other pages deal with controlling process and programs). My WMI code employs Win32 Service commands to control the operating system and …
Introduction to Checking Administrator Logons with WMI This purpose of this script is to check the Security Log for instances where someone has tried to guess the administrator’s password. The WMI / VBScript searches for Event ID 675 messages and writes them to a text file. Whilst I love to …
Tutorial for Creating Contacts with a VBScript Creating Contact objects with a VBscript can be hard or it can be easy. The difference lies in whether you want to create the object solely in Active Directory, or whether you want to build Contacts for use in an Exchange Organization. In …
Getting Started with WMI This page will set you on your way to creating VBScripts with WMI queries. I know that you love to copy example scripts, paste them into notepad, amend a few lines and then run them. Therfore, I have developed what I call the three shell method. …
Tutorial for Adding Users to a Group with VBScript This page will show you how take one user and then add them to many groups. By adding another loop, we could add many users, each to many groups. I design my scripts for beginners. In addition, when I create my …