Skip to content
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. #8

Closed
MattHodge opened this issue Feb 23, 2015 · 1 comment
Assignees
Labels

Comments

@MattHodge
Copy link

UserName Parameter in New-StoredCredential does not store the username correctly.

To replicate:

  1. Run the following New-StoredCredential -Password mypassword -Persist ENTERPRISE -Target TestNewCred -Type GENERIC -UserName TestUser
  2. 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
@davotronic5000 davotronic5000 self-assigned this Feb 25, 2015
@davotronic5000
Copy link
Owner

I have now put out release 1.1 which fixes this bug. There was some leftover code from testing causing this. Should be resolved now though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants