Initial version from my blog post

http://www.technologytoolbox.com/blog/jjameson/archive/2011/04/25/script-to-reset-wsus-for-sysprep-ed-image.aspx