Skip to content

Instantly share code, notes, and snippets.

View BryantAvey's full-sized avatar

Bryant Avey BryantAvey

View GitHub Profile
@n0bodysec
n0bodysec / ClearAdobeCredentials.ps1
Last active July 25, 2024 04:26
Clear all Adobe App credentials from Windows Credential Manager
# Inspired on https://community.adobe.com/t5/download-install-discussions/getting-a-long-list-of-quot-adobe-app-info-quot-generic-credentials/td-p/10189222
# Usage: add this script to your PowerShell profile and run "ClearAdobeCredentials". "Adobe User" credentials will not be removed.
<# Commands explanation:
cmdkey /list > This will list all your saved credentials
Select-String -Pattern "Adobe App" > Show only credentials that match "Adobe App"
-replace "^ *[A-Za-z]+:? (.*)", "`"`$1`"") > Regex that removes " Target:" and add quotes around the credential
% { cmdkey /delete:$_ } > This will run "cmdkey /delete" for each matching credential
#>