| 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.
© 2014-2023 Cloudbase Solutions Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.