I've followed numerous threads shown below regarding using stored credentials and I'm still unable to pass them to the vmconnect command. When I store a credential then use vmconnect like:
vmconnect mypc ubuntu-pc /credential (Get-StoredCredential -UserName bernie)
I receive this message regardless of the method used:
"The credential 'System.Management.Automation.PSCredential' is not in the credential store"
I also tried manually adding credentials using the Windows 10 credential manager.
How can I use a stored credential with the vmconnect command?
Methods Tried: