Perpetually downloading Tools Host?

I purchased a license and installed the extension. The extension never seems to work…

Any troubleshooting advice would be appreciated.

Only 1 image allowed… here’s the second…

You will want to look at the PoshTools log.

You can also verify that the download location is accessible from your machine.

$Version = '2021.5.0'
Invoke-WebRequest "https://poshtools.blob.core.windows.net/vscode/windows.$Version.zip" -OutFile .\vscode.zip

We also support an offline install:

With my Work VPN active:

PS C:\Users\YoungKe\Documents> $Version = '2021.5.0'
Invoke-WebRequest "https://poshtools.blob.core.windows.net/vscode/windows.$Version.zip" -OutFile .\vscode.zip
Invoke-WebRequest : BlobNotFoundThe specified blob does not exist. RequestId:c8bb77db-e01e-006b-4074-64f097000000 Time:2022-05-10T13:46:35.6826048Z
At line:2 char:1
+ Invoke-WebRequest "https://poshtools.blob.core.windows.net/vscode/win ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

With work VPN turned off:

PS C:\Users\YoungKe\Documents> $Version = '2021.5.0'
Invoke-WebRequest "https://poshtools.blob.core.windows.net/vscode/windows.$Version.zip" -OutFile .\vscode.zip
Invoke-WebRequest : Unable to connect to the remote server
At line:2 char:1
+ Invoke-WebRequest "https://poshtools.blob.core.windows.net/vscode/win ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

Directly trying the path in the browser:

Sorry. I got the version number wrong.

$Version = '2022.5.0'
Invoke-WebRequest "https://poshtools.blob.core.windows.net/vscode/windows.$Version.zip" -OutFile .\vscode.zip

The updated version number is working for downloading.

As a side note, I found this in the extension logs:

[2022-05-10 09:00:24.551] [exthost] [error] Activating extension ironmansoftware.powershellprotools failed due to an error:
[2022-05-10 09:00:24.551] [exthost] [error] FetchError: request to https://poshtools.blob.core.windows.net/vscode/windows.2022.4.3.zip failed, reason: certificate has expired

Thanks. That’s interesting as that cert should be provided by Microsoft :face_with_diagonal_mouth:

I may have to look into that issue.

Can you confirm where I unzip the vscode.zip file please?

Thanks for your help so far!

You can install it into your user profile.

%UserProfile%\PowerShellProTools\2022.5.0\windows

For example, mine is in: C:\Users\adamr\PowerShellProTools\2022.5.0\windows

Just wanted to add a final update to this thread to say that I got it working. @adam : Thanks for your help!

1 Like