Created
January 8, 2019 00:19
-
-
Save SevenLayerJedi/fe4b3a8b5ad2b7f8f80160fe83d9e213 to your computer and use it in GitHub Desktop.
This file contains 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
# Display all the passwords stored in the Windows Credential Manager | |
Function Get-WindowsCredentialManagerPasswords{ | |
[void][Windows.Security.Credentials.PasswordVault,Windows.Security.Credentials,ContentType=WindowsRuntime] | |
$vault = New-Object Windows.Security.Credentials.PasswordVault | |
$vault.RetrieveAll() | % { $_.RetrievePassword();$_ } | |
} | |
Get-WindowsCredentialManagerPasswords |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment