AzureRM Tools extension prevents PowerShell extension from loading
See original GitHub issueSystem Details
- Operating system name and version: Windows 10 (1703) 15063.540
- VS Code version: 1.16.0-insider
- PowerShell extension version: 1.4.1
- Output from
$PSVersionTable
: Name Value
PSVersion 5.1.15063.502 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…} BuildVersion 10.0.15063.502 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1
Copy / paste the following commands into the PowerShell Integrated Console, and paste the output here:
code -v
code : The term 'code' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:1
+ code -v
+ ~~~~
+ CategoryInfo : ObjectNotFound: (code:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS> $pseditor.EditorServicesVersion
PS> code --list-extensions --show-versions
code : The term 'code' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:1
+ code --list-extensions --show-versions
+ ~~~~
+ CategoryInfo : ObjectNotFound: (code:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS> $PSVersionTable
Name Value
---- -----
PSVersion 5.1.15063.502
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.15063.502
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
[logs.zip](https://github.com/PowerShell/vscode-powershell/files/1270431/logs.zip)
SerializationVersion 1.1.0.1
Issue Description
Basically the extension after the latest insider updates doesn’t work anymore (no F8, no auto complete, and so on), in the output window I can read: [8:58:45] Language server starting… [8:58:45] Language server startup failed.
Attached Logs
I attach the logs, but they’re empty
Issue Analytics
- State:
- Created 6 years ago
- Comments:24
Top Results From Across the Web
Custom Script Extension for Windows - Azure - Microsoft Learn
This article details how to use the Custom Script Extension by using the Azure PowerShell module and Azure Resource Manager templates. It also ......
Read more >ARM Tool Extension Not Loading · Issue #1310 - GitHub
Yes Repro steps: Install ARM Tool Extension Try to launch the tool ... in the Output window, in the "Azure Resource Manager Tools"...
Read more >Using the Azure custom script extension for complex ...
In Azure, the custom script extension provides this ability to run scripts. When Windows Azure VMs are combined with tools like Chocolatey, ...
Read more >Automate Installation of VM Extensions using PowerShell and ...
VM Extension Name (Case sensitive for "Extensions.id. ... Login to Azure Resource Manager (ARM), if this fails, stop script.
Read more >The specified module 'Module Name' was not loaded because ...
This error is because the PowerShell console or ISE is unable to get the module from given module path's in the environment variable...
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
@daviwil I got the vscode-PowerShell extension to work after disabling the ‘Azure Tools for Visual Studio Code’ extension by ‘bradygaster’, which is installed as part of the ‘Azure Extension Pack’ by ‘Microsoft’. https://github.com/bradygaster/azure-tools-vscode
I’m not seeing the issue reemerge on my Windows 10 machine. The PS Integrated Console has been taken a little longer to load, but I assume that’s more of a vscode issue than a PowerShell Extension issue.
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Andy Stumphmailto:notifications@github.com Sent: Tuesday, October 3, 2017 09:41 To: PowerShell/vscode-powershellmailto:vscode-powershell@noreply.github.com Cc: aydeisenmailto:aydeisen@gmail.com; Mentionmailto:mention@noreply.github.com Subject: Re: [PowerShell/vscode-powershell] AzureRM Tools extension prevents PowerShell extension from loading (#1016)
I still experienced it on 1.4.3 as well. Had to disable Azure Tools to get the integrated console to launch. Running on Windows 8.1 though.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/PowerShell/vscode-powershell/issues/1016#issuecomment-333845444, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ANZGFeCUzIHtG40shVZwe3vUj5Szk7z6ks5sojmKgaJpZM4PKLq5.