You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 1, 2021. It is now read-only.
UserName Parameter in New-StoredCredential does not store the username correctly.
To replicate:
Run the following New-StoredCredential -Password mypassword -Persist ENTERPRISE -Target TestNewCred -Type GENERIC -UserName TestUser
Run Get-StoredCredential and you will see a new credential was created but using the current username ($env:Username) instead of the credential specified with the UserName param
The text was updated successfully, but these errors were encountered:
UserName Parameter in New-StoredCredential does not store the username correctly.
To replicate:
New-StoredCredential -Password mypassword -Persist ENTERPRISE -Target TestNewCred -Type GENERIC -UserName TestUser
Get-StoredCredential
and you will see a new credential was created but using the current username($env:Username)
instead of the credential specified with the UserName paramThe text was updated successfully, but these errors were encountered: