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.