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

Some Stories in the Backlog

1. Upgrade pods with 32" monitors - Make collaboration easier - Increase productivity   2.…

PowerShell: Get Connected Port by Process Name

# getProcessConnectionPort.ps1 $computerlist=@' SQL1 SQL2 '@ $computernames=@($computerList -split "`n")|%{$_.Trim()} $processname='sqlservr' $state='Established' $results=@() foreach ($computername in…

SonicWall: How to Set Internet Restrictions for Specific Computers

Set their MACs to address .  Then, use firewall rules to restrict outgoing communication:  …