Created
February 27, 2019 13:13
-
-
Save TwitchBronBron/d692073e4f95967465f2dcee2f377aa8 to your computer and use it in GitHub Desktop.
A windows script to clear all windows credentials (uses powershell internally)
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
| powershell -Command "cmdkey /list | ForEach-Object{if($_ -like '*Target:*' -and $_ -like '*'){cmdkey /del:($_ -replace ' ','' -replace 'Target:','')}}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment