Skip to content

Instantly share code, notes, and snippets.

Chris Hunt cdhunt

View GitHub Profile
@cdhunt
cdhunt / Get-CredentialFromWindowsCredentialManager.ps1
Last active Jul 11, 2019 — forked from toburger/Get-CredentialFromWindowsCredentialManager.ps1
Gets a PowerShell Credential [PSCredential] from the Windows Credential Manager. This only works for Generic Credentials.
View Get-CredentialFromWindowsCredentialManager.ps1
<#
.SYNOPSIS
Gets a PowerShell Credential (PSCredential) from the Windows Credential Manager
.DESCRIPTION
This module will return a [PSCredential] object from a credential stored in Windows Credential Manager. The
Get-StoredCredential function can only access Generic Credentials.
Alias: GSC
You can’t perform that action at this time.