Category Archives: VBScript

MDT and Webservices – Small bug

Long time no blog… Working on a move to CM2012 from CM2007, and with that we are trying to move to Webservices instead of client side VBScript. I found a small bug in MDT (Looked at version 2010U1 and 2012U1 … Continue reading

Posted in ConfigMgr, VBScript | Tagged , , , | Comments Off on MDT and Webservices – Small bug

Outlook and meeting reminders

I do not like the fact that the person sending a meeting request is the one deciding how long before the meeting a reminder would be set. Since I don’t like the popup on my phone, I’m not using reminders. … Continue reading

Posted in Good-to-have, VBScript | Tagged | Comments Off on Outlook and meeting reminders

Monitor connected consoles

A small and simple script to monitor number of connected SCOM-consoles.

Posted in OpsMgr, VBScript | Tagged , , | Comments Off on Monitor connected consoles

SCCM Console Extensions – Parameters

OK, so now you know the GUID for the right-click tool… but what about passing parameters? There are a few standard SUB’s (parameters) that you can use, some are listed in this post: http://www.snowland.se/2008/05/28/sccm-console-extensions/ But if you take the example … Continue reading

Posted in ConfigMgr, VBScript | Tagged , , , | Comments Off on SCCM Console Extensions – Parameters

SCCM Console Extensions – Find the GUID

I wrote some about this topic in a post a while ago… did some more scripting around this today. This VBScript will read the AdminConsole.xml and look for NameSpaceGuid’s, when it find one it will create a subdirectory (from where … Continue reading

Posted in ConfigMgr, VBScript | Tagged , , | Comments Off on SCCM Console Extensions – Find the GUID

Outlook inbox cleaner

I like to keep my inbox clean… so every now and then I sort out mails to different folders. That is boooring. So I wrote a little script. 🙂 Download: inboxcleaner.vbs Update: Screendump of the result.

Posted in Good-to-have, VBScript | Tagged , , | Comments Off on Outlook inbox cleaner

Bulk update commandlines in SCCM-programs

Just a small script to update the commandline of a large number of programs in SCCM. This script will change from “/q” to “/qb!”…

Posted in ConfigMgr, VBScript | Tagged , | 5 Comments

Trigger SCCM-client actions

If you need to trigger some SCCM-client actions via a script, this is a easy way to do it. This script will trigger actions with “Request & Evaluate” in the name.

Posted in ConfigMgr, VBScript | Tagged , , | Comments Off on Trigger SCCM-client actions

Change Collection Refresh Rate

Had some problems with loads of collection refresh taking all of the CPU on the SCCM-server. So first, to get the SCCM-server to calm down I wrote a small (and somewhat ugly, since it uses SQL) hack: This script uncheck … Continue reading

Posted in ConfigMgr, VBScript | Tagged , , | Comments Off on Change Collection Refresh Rate

Semiautomatic deletion/creation/whatever

Ok.. you need to automate a klick-klick-klick-procedure… SendKeys can do the trick. A big warning: This might be dangerous, if the script goes berserk… it might do whatever deletion/creation/manipulation in the wrong area…

Posted in VBScript | Tagged , | Comments Off on Semiautomatic deletion/creation/whatever

Check WMI on SCCM-server

If you have problems with WMI on a SCCM server you have will have loads of strange things happening. Wrote a small VBScript to check WMI… here it is: Or download here: wmiTester.vbs

Posted in ConfigMgr, VBScript | Tagged , | Comments Off on Check WMI on SCCM-server

Count files in SCCM-inboxes – Version 2

A bit more complex version of the last script… Requires a parameter for servername. inboxcount.vbs

Posted in Snowland.se, VBScript | Tagged , | 1 Comment

Read PXEFilter settings from registry

First off… populate HKEY_LOCAL_MACHINE\SOFTWARE\snowland\PXEFilter\ with some strings (ProviderServer, SiteCode, Username, Password, Collection). Second, edit the pxefilter.vbs and change the following lines: To this new code: Now, on startup the filter will read from HKLM to get the settings, if there … Continue reading

Posted in ConfigMgr, VBScript | Tagged , | Comments Off on Read PXEFilter settings from registry

Kill the task sequence window

There are a few blogposts about moving the task sequence status window. An easy way is to simply kill it. 🙂 A short VBScript-hack: Some other ways: http://blogs.technet.com/deploymentguys/archive/2008/10/09/placing-your-window-on-top-during-the-windowspe-stage.aspx http://blogs.technet.com/deploymentguys/archive/2008/03/19/useful-script-number-2-move-the-task-sequence-window.aspx

Posted in ConfigMgr, VBScript | Tagged , | Comments Off on Kill the task sequence window

Monitor COM+ Call Time

With a little help from Egilh you can monitor the Call Time on your COM-objects in MOM… First, download and install the DLL on the server you want to monitor, then use this script:

Posted in MOM2005, VBScript | Tagged , | Comments Off on Monitor COM+ Call Time