Unable to load PowerShell
See original GitHub issueHello,
I am facing an issue with PowerShell.
Here my logs (verbose mode) :
02/04/2019 09:19:45 [NORMAL] - Path specified by 'powerShellExePath' setting - '' - not found, reverting to default PowerShell path.
02/04/2019 09:19:45 [NORMAL] - Language server starting --
02/04/2019 09:19:45 [NORMAL] - args: C:\Users\XXX\.vscode\extensions\ms-vscode.powershell-1.12.0\modules\PowerShellEditorServices\Start-EditorServices.ps1 -HostName 'Visual Studio Code Host' -HostProfileId 'Microsoft.VSCode' -HostVersion '1.12.0' -AdditionalModules @('PowerShellEditorServices.VSCode') -BundledModulesPath 'C:\Users\XXX\.vscode\extensions\ms-vscode.powershell-1.12.0\modules' -EnableConsoleRepl -LogLevel 'Verbose' -LogPath 'C:\Users\XXX\.vscode\extensions\ms-vscode.powershell-1.12.0\logs\1554189585-9fb7402d-29cb-486d-a08d-f0ba3cdfc77d1554189581112\EditorServices.log' -SessionDetailsPath 'C:\Users\XXX\.vscode\extensions\ms-vscode.powershell-1.12.0\sessions\PSES-VSCode-12272-277559' -FeatureFlags @()
02/04/2019 09:19:45 [NORMAL] - exe: C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
02/04/2019 09:19:47 [NORMAL] - powershell.exe terminated or terminal UI was closed
02/04/2019 09:21:46 [NORMAL] - Language server startup failed.
02/04/2019 09:21:46 [ERROR] - The language service could not be started:
02/04/2019 09:21:46 [ERROR] - Timed out waiting for session file to appear.
VScode version :
1.32.3
a3db5be9b5c6ba46bb7555ec5d60178ecc2eaae4
x64
Extensions :
fatihacet.gitlab-workflow@2.0.1
ms-mssql.mssql@1.5.0
ms-vscode.powershell@1.12.0
shakram02.bash-beautify@0.1.1
PSversiontable :
Name Value
---- -----
PSVersion 5.1.17763.316
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17763.316
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Thanks a lot !
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Fix for PowerShell Script cannot be loaded because ...
Open PowerShell Console by selecting “Run as Administrator” and get the execution Policy with the command: Get-ExecutionPolicy to get the ...
Read more >PowerShell module cannot be loaded? Try these simple fixes
PowerShell module cannot be loaded? Try these simple fixes ; 1. Set Execution Policy to Unrestricted.
Read more >Powershell error: Could not load file or assembly
I'm trying to install a solution from github and I get the error: Import-Module : Could not load file or assembly.
Read more >PowerShell runtime exception - "could not load file or ...
The file may be blocked from being loaded because of its origin (stored in NTFS streams). Check properties and see if the little...
Read more >When I upgrade to Powershell 7.0.0 I'm unable to load ...
Make sure you are able to repro it on the [latest released version]: 7.0.0 Search the existing issues. Refer to the FAQ.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We have no restrictions by GPO, however we have Bitdefender as antivirus software, I’ll tried to get a laptop in the same configuration without antivirus installed to check it.
@hvCoder2k18 thanks!
That issue should be fixed in the next preview as we are removing that setting for something better.