My friend Sharfa and I were exchanging some of our favorite code snippets and he showed me one for enumerating Exchange Servers in Active Directory. I dug the code but wanted to try to see if I could use my Recordset/ADsDSOObject skrills to shorten the code. The outcome isn't any shorter but it does get the version, so …
Read MoreDamn, the ADsDSOObject rocks! This script, which weighs in at less than 20 lines, finds all machines running any form of Windows Server on a given domain. Note that this script isn't useful in finding domain controllers, but rather any machine running Windows Server. …
Read MoreIn helping a visitor to troubleshoot running my IIS FTP ban script, I realized that while XP makes it appear as though it doesn't support banning users by IP address, it actually does provide that support; you just have to ban the IPs programatically.
Image not found
Read MoreThe day that Office 2007 came out, I logged in to MSDN and downloaded the ISO. A good seven hours later, I was still attempting to install the suite of apps. I run Windows Server 2003 on my laptop and wondered if that was a problem but the system requirements listing said that Office 2007 was compatible with Win2k3. My …
Read MoreI recently created a plugin called currentMusic, which is derived from the WordPress plugins Current Mood and Scrobbler. currentMusic supports something similar to LiveJournal's "Current Music" functinality. The plugin uses Last.FM to see what you were likely listening to at the time that you posted. It works …
Read MoreI'm researching Offer Remote Assistance currently and dang, we had about 54 things to fix before we got the process going. First, we had to take all sorts of steps to enable "Offer Remote Assistance" in Group Policy. Then, we had several SID related issues which created the following events in Event Viewer: …
Read MoreRecently, I wanted to write a web-based front end to AD User Management for our help desk. The way that I set it up apparently broke some Kerberos delegation rules and even though Microsoft wrote a step-by-step guide on how to get IIS and Kerberos delegation going, the solution didn't work for me. If I turned off …
Read MoreThis function can be found on Microsoft.com somewhere. I remember once finding some nslookup function where the author wrote the output of nslookup to a file on the hard drive, parsed it then forgot to delete it. I used that script and after a few years, I found that directory full of thousands of text files. Anyway, …
Read MoreI made a decently big change tonight to Quickcode so if you use the plugin, you may want to download the updated version.
The change, adding "overflow-x:scroll;" to the CSS file (in two places), stopped IE from hiding the last line of anything that was placed within the quickcode tag. I don't use IE so I …
Read MoreI setup a WSUS server in a test lab and the results of client machines registering themselves with the WSUS server were flaky; especially if they weren't on the same domain as the WSUS server. One of my cloned machines was having trouble until I changed the SID with NewSID from Microsoft. The others didn't appear to …
Read More