Posted On February 19, 2020

WGET Error on Windows and Its Quick Resolution

kimconnect 0 comments
blog.KimConnect.com >> Windows >> WGET Error on Windows and Its Quick Resolution
Error:
PS C:\temp> Invoke-WebRequest -Uri $file
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.
At line:1 char:1
+ Invoke-WebRequest -Uri $file
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotImplemented: (:) [Invoke-WebRequest], NotSupportedException
+ FullyQualifiedErrorId : WebCmdletIEDomNotSupportedException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

Resolution:
Invoke-WebRequest -Uri $file -UseBasicParsing

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

How to Create a New Jenkins Job to Call a PowerShell Script with Credentials

1. PowerShell & Secured Credentials Support Check for PowerShell support: Manage Jenkins > Plugin Manager…

PowerShell: Audit Domain Controller Certificates

function auditDcCerts{ try{ write-host "Gathering Domain Controller Names..." Import-Module ActiveDirectory $osInfo = Get-CimInstance -ClassName Win32_OperatingSystem…

Problem Solving Exercise: Auto Manufacturing Case

Sample Answer 1. Produce a problem statement:We are investigating the root cause of production delays…
Other project: DragonCoin.com