Forked from janikvonrotz/Delete-AllCmdKeyCredentials.ps1
Created
September 4, 2018 20:28
-
-
Save FracVX/6a953a5e9420309c3388f04bd67cfc69 to your computer and use it in GitHub Desktop.
PowerShell: Delete all cmdkey credentials
#PowerShell
#Windows
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 "*Ziel:*"){cmdkey /del:($_ -replace " ","" -replace "Ziel:","")}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment