VBScript: Uninstall and Install iTunes (Upgrade) using automatic product code finder script (or any other product, by using product name)
Follow up to my post about getting product code!
Category: Configuration Manager, Scripting, VBScript | Comment
This time we do a full uninstall and install of iTunes, using automatic product finder!
VBScript: Find iTunes product codes automatically (or any other product, by using product name)
Script for getting product code from product name. Very usable for deployment of software via configuration manager or similar systems.
Category: Configuration Manager, Scripting, VBScript | 8 Comments
VBScript: Receiving new advertisement info from ConfigMgr 2007 via WMI Events.
Run code when a new advertisement is created.
Category: Configuration Manager, Scripting, VBScript | 3 Comments
This post contains a vbscript using async operations to catch the new advertisement, when it is created.
Adding users to Configuration Manager 2007 with specific Class Permissions via VBScript
The Configuration Manager 2007 SDK, has a lot of missing examples and parts that are not well documented. One of them is the part about User permissions and how to add them. During the development of the install script for our HTA solution, I had to create a HTA user, with special permissions for the [...]
Category: Configuration Manager, Scripting, VBScript | Comment
VBScript: Cleanup all computer objects for local PC
When we are deploying OS via ConfigMgr, we usually do a cleanup of all old objects before creating the new object. This helps prevent errors and mistakes, and is pretty easy to do. We are able to use both SMBOIS GUID and Mac addresses for the cleanup. usually I recommend using mac addresses, since I [...]
Category: Configuration Manager, OS Deployment, Scripting, VBScript | 1 Comment
“How to Raise Alert from Microsoft Outlook in OpsMgr 2007” or a New Outlook Connector to Operations Manager 2007 R2
Have you ever thought on creating Alerts directly from a mail? Or Send a mail to your OpsMgr to raise an alert in your Operations Manager? A few weeks ago I was talking with a guy participating on one of the Advanced OpsMgr courses, his existing monitoring environment currently delivered an mail to a group [...]
Category: Operations Manager 2007, Scripting, VBScript | 2 Comments
Using JScript and VBScript functions in the same script or HTA.
When I am developing new script, I usually use VBScript (or powershell but that’s another story).
Category: Scripting, VBScript | Comment
but sometimes I already have some old functions written in JScript, that I need to use in my VBScript.
This article shows you how to do it.
Add AD user accounts to the SBS Console
When you create AD user accounts through Active Directory Users and Computers, they don’t appear in the SBS Console. And therefore it is not possible to manage them from the Console. Run this VB script to add user accounts to the SBS console. Be sure to define the OU location for your users before running [...]
Category: Scripting, VBScript | 3 Comments
Include other files in VBScript
Have you ever wanted to include another .vbs file with all your common functions in a script? Many people I have met thought it wasn’t possible. But it is actually pretty easy to do with “ExecuteGlobal” to make it even easier, I have created a small function which you can put in your scripts and [...]
Category: Home, Scripting, VBScript | 2 Comments
Microsoft Scripting Games 2010
It is almost time for the annual Scripting Games at Microsoft Scripting Guys! Scripting games is a fun “competition” with a lot of different scripting challenges. This year it is held from April, 26 – May 7. I suggest all scripters to join the fun!, it is good practice for both newcomers and hardcore [...]
Category: Powershell, Scripting, VBScript | Comment

