Problem scenario: You modify this script to have a hostname, username, and password of a Windows server on your network. You add a "puts line" stanza on line 32.
You run the script but you get a message like this: "HTTP/1.1 404 Not Found error. "
Solution: Make sure that the Windows server has IIS installed, make sure the server name you entered was correct, and make sure the Windows server is turned on.