My first vista sidebar gadget

Last week a made my first windows vista sidebar gadget… =)
Because I like the garfield comic, I made a gadget who receives the comic of the day. With a flyoutscreen you can see the whole comic in the original size.
Garfield

You can download the gadget here or at Microsoft.

Thanks for the early adopters who gave me an insight to how to code this.

exam 70-649

Today I passed exam:
70-649 “TS: Upgrading Your MCSE on Windows Server 2003 to Windows Server 2008, Technology Specialist” with 925 points… =)

A lot of questions about IIS 7.0 and they were easy… There were some questions about the new Terminal Services features, I didn’t get , so I have to work on that. And 1 question about ip v6, I guessed. Thats something i really have to look into.

Thats 1 down, 2 to go to become a enterprise administrator 2008.

Which service principal name are registered?

Wanna know if a particular service principal name is registered?

Add the following command to a batch file (called something like “get-spns.bat”) and you get a list of SPN’s registered with a given name and which account is associated with the SPN.

ldifde -f spns.txt -s domaincontroller -r “(|(msDS-AllowedToDelegateTo=*%1*)(servicePrincipalName=*%1*))” -l msDS-AllowedToDelegateTo,servicePrincipalName

usage: get-spns.bat servername/hostheader

open up the created spns.txt and voila.

Wanna know which application pool is used by your application?

Some times I check if my applications are still using the proper application pools (I am not the only administrator of the IIS servers ;) ). You can do this with the IIS GUI ofcourse but you can also use scripting (checking a lot of servers/application and application pools can be a pain in the !@#$%). So I created a little script to do that. more…»