Azure Websites (← Webサイトから変わったんすね)の PowerShell バージョンは、
PS D:\home> $psversiontable
Name Value
---- -----
PSVersion 3.0
WSManStackVersion 3.0
SerializationVersion 1.1.0.1
CLRVersion 4.0.30319.36213
BuildVersion 6.2.9200.16628
PSCompatibleVersions {1.0, 2.0, 3.0}
PSRemotingProtocolVersion 2.2
でした。
で、所用でKuduのPSコンソール上から、Invoke-WebRequest を呼び出したら、
Invoke-WebRequest : The response content cannot be parsed because the Internet Explorer engine is not available, or Internet Explorer's first-launch configuration is not complete. Specify the UseBasicParsing parameter and try again.
IE云々で使えねーておこられました。”UseBasicParsing” オプション付けろといつので、付けてみたのですが、
Invoke-WebRequest : Win32 internal error "The handle is invalid" 0x6 occurred while reading the console output buffer. Contact Microsoft Customer Support Services.
って怒られて詰みました。curl つかうか....
追記
ってなツイートがあったため試してみたところ無事うごきました。