VMware PowerCLI

The Best User Interface for your VMware Datacenter!

Fix issue with VimDatastore and VimInventory providers in Visual Studio Code's Integrated Console

In the PowerShell Integrated Console of the Visual Studio Code editor there is an issue when using the VimInventory and VimDatastore providers.

A call to New-PSDrive with any of these providers, returns errors like
"The specified mount name 'vis' is already in use."
or
"The specified mount name 'vmstores' is already in use."

This issue is documented in PowerShell/PowerShellEditorServices Issue 543 in more detail.

  • Luc Dekens
  • Sep 12 2019
  • Looking for Feedback
  • Attach files