This script (the same offered by OSR for download) is one of the three variants of the ddkbuild script I am aware of. It's pretty much a rewrite of the ddkbuild.bat from OSR. It should work with DDKs since the NT 4.0 or 2000 one and WDKs up to 7.1 (Windows 7 SP1).
Not actively developed anymore, as modern WDKs integrate directly with Visual Studio (and thus MSBuild).