New Question

Revision history [back]

click to hide/show revision 1
initial version

You need to add the -UseBasicParsing parameter when calling Invoke-WebRequest from a userdata script. Reason for this is that otherwise Invoke-WebRequest will try to parse the response using IE components, not available in this context.