around lunchtime on January 7, 2008
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.
in the early morning on January 6, 2008
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…»
mid-afternoon on January 3, 2008
Ever wondered if the assemblies your developers gives you to install on a production server are from a release build? You can make a little C# console application to check this. more…»
in the early morning on May 26, 2007
On the site codeproject.com I found a great article with some very good tips for you developers out there to speedup your ASP.NET applications.