MSXML4.0 on Windows Server 2008r2 - Cannot create object MSXML2.ServerXMLHTTP.4.0
See the question and my original answer on StackOverflowI think you're running the 64-bit versions of CScript and Powershell by default, but MSXML is a 32-bit component.
Here is a link that explain how to start the 32-bit version of Powershell on a 64-bit OS: Starting the 32-Bit Version of Windows PowerShell