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 to do it manually:
http://tfl09.blogspot.com/2009/08/windows-7-and-virtual-server.html
Big Thanks [...]

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 any certificates are [...]

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, so i decided [...]

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 own structure [...]

Powershell Acticvesync wipe

In this Powershell sample (created with ASE) – its possible to create a simple form to let Helpdesk manage Activesync Devices, this is done by finding and wipe/unwipe the device. Feel free to change and clean-up – Try ASE – http://adminscripteditor.com/ – Its a great editor.

 

####################################################################

# Program……….: ASExWipe.ps1                            #

# Author………..: KÃ¥re Rude Andersen [...]

Find Query-based Distribution Groups in Domain

To find all QBD groups in your domain run the following.
(Remember to change the LDAP string…)
On Error Resume Next
Const ADS_SCOPE_SUBTREE = 2
Set objConnection = CreateObject(“ADODB.Connection”)
Set objCommand =   CreateObject(“ADODB.Command”)
objConnection.Provider = “ADsDSOObject”
objConnection.Open “Active Directory Provider”
Set objCommand.ActiveConnection = objConnection
objCommand.Properties(“Page Size”) = 1000
objCommand.Properties(“Searchscope”) = ADS_SCOPE_SUBTREE
objCommand.CommandText = _
    “SELECT cn, objectClass FROM ‘LDAP://dc=coretech,dc=intra’ WHERE ” _
        & “objectClass =’msExchDynamicDistributionList’”
Set [...]

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 Conventions for Visual Basic:
http://support.microsoft.com/kb/110264
Scripting Guy’s Determine Last Logon time:
http://technet.microsoft.com/da-dk/magazine/2006.01.scriptingguy(en-us).aspx
Encode a Script – Sample:
http://www.microsoft.com/technet/scriptcenter/csc/scripts/security/scripts/cscse001.mspx
Scripting Games  [...]

Usefull Powershell Links and Books.

Links:
Microsoft Scripting guys! Forum:
Usually you will get very quick replys and help in there
http://social.technet.microsoft.com/Forums/en/ITCG/threads
Powershell 2.0 and others for All Windows (Windows Management Framework)
http://support.microsoft.com/default.aspx/kb/968929
Working wth ODBC:
http://theessentialexchange.com/blogs/michael/archive/2008/01/07/multi-platform-database-access-with-powershell.aspx
Create Custom Inputbox:
http://www.microsoft.com/technet/scriptcenter/resources/pstips/feb08/pstip0208.mspx
Working with Arrays:
http://powershell.com/cs/blogs/tips/archive/2008/11/19/working-with-arrays.aspx
Change Error Message Colors:
http://www.microsoft.com/technet/scriptcenter/resources/pstips/aug07/pstip0817.mspx
PowerBoots – Interface for creating WPF GUI’s in powershell
http://huddledmasses.org/powerboots-tutorial-walkthrough/
Powershell SDK:
http://www.microsoft.com/downloads/details.aspx?FamilyId=E6E1C3DF-A74F-4207-8586-711EBE331CDC&displaylang=en
Free PowerShell Commands for Active Directory
http://www.quest.com/powershell/activeroles-server.aspx
Blog: ADPowershell:
http://blogs.msdn.com/adpowershell/
Outputting Calculated Coloumns in Powershell:
http://powershell.com/cs/blogs/tips/archive/2008/11/21/outputting-calculated-properties.aspx
The Scripting Guys: How does the RemoteSigned [...]

Checking if User is member of group including nested/sub groups!

Download:
I had a challenge today.
Problem:
My Customer needs to insert a specific text in the Computer description field on the local PC, if the user is member of a specific group.
Challenges:
The problem is that most of the user are not directly members of the group.
but they are members of a nested group that if member [...]

Automated Windows Installer Properties from .INI (Embedded VBScript)

Download:
Have you ever needed the functionality to read the property values from an .ini file, every time a installation or repair is run?
This small script created for Windows installer, will do the job.
Purpose: Â
Automatically reads a ini file located in the MSI SOURCEDIR property.
Each parameter in the ini file is read into the property that
have [...]