Created
June 11, 2021 15:17
-
-
Save fmartins-andre/0e52da068eda60210eef4f7c761a4b73 to your computer and use it in GitHub Desktop.
Clean stored credentials from Windows Credential Manager via PowerShell.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmdkey /list | ForEach-Object{if($_ -like "*Destino:*"){ cmdkey /del:($_ -replace " ","" -replace "Destino:","")}} | |
cmdkey /list | ForEach-Object{if($_ -like "*Target:*"){ cmdkey /del:($_ -replace " ","" -replace "Target:","")}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The first command line is for results in portuguese, the second in english.