As the title says -UseBasicParsing doesn't work for PowerShell 6.0 and up. Had issues with it grabbing the price until I removed it.
What improvement would you like to see? The use of -UseBasicParsing in Invoke-WebRequest is deprecated in newer PowerShell versions. If targeting PowerShell 6+, this parameter can be removed. The use ...
Microsoft says Windows PowerShell now warns when running scripts that use the Invoke-WebRequest cmdlet to download web content, aiming to prevent potentially risky code from executing. As Microsoft ...