Jakob Gottlieb Svendsen's Blog

"Automation, Scripting and other ways to make your life easier!"




22nd October 2009

OpsMgr 2007 R2: Script Unit Monitor Comparison Problems!

  While making my last Management Pack , I discovered a problem in the Operations Console of OpsMgr. Problem:   When i created the Critical/Unhealthy/Healthy Expressions i had to compare to a Integer that was returned by the Script. The problem was that when i compared 50 with 100, it acted like 50 was more [...]

Category: Operations Manager 2007  |  1 Comment

21st October 2009

OpsMgr 2007 R2 (SCOM): Coretech Coffee Monitor Management Pack – 0.0.0.1

Download: The file has included test examples and vlc player. The Management Pack is 32Kb Intro: This management packs can be used to keep track of the level of coffee in left in the pot. With this management pack, you will never run dry of, what we all know, is the most important part of [...]

Category: Operations Manager 2007  |  33 Comments

12th August 2009

MOC Lab Launcher Fixer for Windows 7

Windows 7 has arrived, and everything is fine! We only have one problem. Many of the MOC Course Material is using the “Lab Launcher”. The MSI for the “Lab Launcher” is not supported by Windows 7. To Fix this problem a Hack/Edit of the MSI is needed. Read this blog post for info about how [...]

Category: .NET, Windows Installer / MSI  |  17 Comments

2nd July 2009

OpsMgr 2007 (SCOM): Coretech Certificates Expire checker Management Pack – 0.0.0.1

Download: Intro: This management packs can be used to check the expire date on all or specific certificates in the client/servers certificates store. It uses the event log on the local client, to alert the OpsMgr unit monitor . It is supposed to check once every day, and make a warning in the opsmgr if [...]

Category: Operations Manager 2007, VBScript  |  5 Comments

1st July 2009

Powershell – WMI: Working with Shares – Part 1: Creating a Share with Custom Permissions

Download Script: Intro: Last week, i was teaching a Powershell course (MOC6434), when a student asked me, how to create a share with custom permissions via WMI. I tried to find an answer for him, but could not really find any examples, cmdlets or functions for it. I found some examples and help in vbscript, [...]

Category: Powershell, Scripting  |  24 Comments

29th April 2009

Coretech Auto Install Warning – Freeware

DOWNLOAD REMOVED! Update: New version out. please look at : http://blog.coretech.dk/home/coretech-auto-install-warning-1-0-3-freeware-update/ When we are deploying application to the user’s computers, we sometimes want to warn them about what is happening. This is to prevent any complains about etc. “My Computer is slow”, “Do i have Virus?” or similar complains that might occur when the computer [...]

Category: Config Mgr. Tools, Install Software, Recommended Tools, Software distribution  |  5 Comments

27th April 2009

Coretech SCCM Manager 1.0.3 – Freeware Download

New version is out! http://blog.coretech.dk/confmgr07/coretech-sccm-manager-1-0-3-1-freeware-download/ . We’re back with a new version of Coretech Application Creator! We have decided to change the name of the application, since the old name did not fit with all the features available. Changelog / What’s New 1.0 RC1 -> 1.0.3 Application has a new name, the old name did [...]

Category: Client Installation, Config Mgr, Config Mgr. Tools, Configuration Manager, Recommended Tools, Software distribution  |  5 Comments

23rd March 2009

Dude, Where’s my Config Mgr Agent log files?

On my workstation i am running Microsoft Windows Vista 64bit. Today i got a small scripting task, which required me to view the Microsoft System Center Configuration Manager Agent Log files. On most Operating Systems (aka. 32bit) the log files are placed in “C:\Windows\CCM\Logs\”. But on mine it was not. I had no luck search [...]

Category: Configuration Manager  |  2 Comments

5th March 2009

Add Custom Data Type / Structure to My.Settings in VB.NET / WPF

During the work of a new Coretech SCCM Manager GUI in WPF, i ran in to some problems with My.Settings. I have used My.Settings for all settings in the Utility, and are using my own structures for the combo-box value and others. The problem is that i could not create a setting, that contained my [...]

Category: .NET, Scripting  |  16 Comments

14th January 2009

Useful Links, Editors and Books for Visual Basic, Scripting Edition (VBScript)

Here is a list of links, editors and books. I have mentioned some of them, in the Visual Basic, Scripting Edition Course (MOC 2433). Links: Microsoft Script Center: http://www.microsoft.com/technet/scriptcenter/default.mspx VBScript Language Reference: http://msdn.microsoft.com/en-us/library/d1wf56tt.aspx Microsoft Scripting Guys! Forum – Technet: http://social.technet.microsoft.com/Forums/en-US/ITCG/threads/ w3Schools – VBScript Section: http://w3schools.com/vbscript/default.asp SCCM and other Scripts: http://myitforum.com/cs2/blogs/dhite/ UAC and VBSCript: http://www.winhelponline.com/articles/185/1/VBScripts-and-UAC-elevation.html Naming [...]

Category: Scripting, VBScript  |  Comment