The Invoke-WebRequest cmdlet sends HTTP, HTTPS, FTP, and FILE requests to a web page or web service. It parses the response and returns collections of forms, links, images, and other significant HTML ...
「Invoke-WebRequest」は「Windows PowerShell 3.0」から導入されているコマンドレットで、HTTP/HTTPSリクエストをWebサイトへ送信し ...
1つはオプション「-UseBasicParsing」を使う方法だ。本来Invoke-WebRequestはコンテンツ取得と同時にHTMLのパース(構文解析)を実行している。だが、本オプションを使うとIEエンジンを使用せず、基本的なパースを実行するため、先のエラーを回避することが可能だ。
PowerShell for every system! Contribute to PowerShell/PowerShell development by creating an account on GitHub.