Open
Description
System Details
- Operating system name and version:
- VS Code version:
- PowerShell extension version:
- Output from
$PSVersionTable
:
Copy / paste the following commands into the PowerShell Integrated Console, and paste the output here:
PS C:\> code -v
1.19.0
816be6780ca8bd0ab80314e11478c48c70d09383
x64
PS C:\> $pseditor.EditorServicesVersion
Major Minor Build Revision
----- ----- ----- --------
1 5 1 0
PS C:\> code --list-extensions --show-versions
ms-vscode.PowerShell@1.5.1
PS C:\> $PSVersionTable
Name Value
---- -----
PSVersion 5.1.15063.674
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.15063.674
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Issue Description
I am experiencing a problem with get-credential in VScode
Hey guys, I'm creating some PowerShell tooling for our vCloud environment. Inside the tools i have some helper functions that test for connectivity to vCloud and if not connected the helper function will prompt for credentials using get-credential with the -UserName $env:USERNAME and connect in. My test machine has a different user name to our jump hosts. I am unable to change my username in VSCode when the function prompts for credentials like i can in the PowerShell console and ISE.
Thanks,
Alex