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...
View ArticleChange 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:...
View ArticleTrigger 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. Option Explicit Dim oCpApplet,...
View ArticleBulk 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!”… Set oLocator = CreateObject("WbemScripting.SWbemLocator") Set oSccmWmi...
View ArticleOutlook 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. Sub InboxCleaner() Dim oNamespace As Outlook.NameSpace Dim...
View ArticleSCCM 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...
View ArticleSCCM 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:...
View ArticleMonitor connected consoles
A small and simple script to monitor number of connected SCOM-consoles. Set oLocator = CreateObject("WbemScripting.SWbemLocator") Set oWmi = oLocator.ConnectServer(".", "root/snmp/localhost", "") Set...
View ArticleOutlook 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...
View ArticleMDT 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...
View Article
More Pages to Explore .....