Skip to content

Instantly share code, notes, and snippets.

View ciis0's full-sized avatar

Christoph Schulz ciis0

View GitHub Profile
@ciis0
ciis0 / Get-CredentialFromWindowsCredentialManager.ps1
Last active September 19, 2020 09:26 — forked from cdhunt/Get-CredentialFromWindowsCredentialManager.ps1
Gets a PowerShell Credential [PSCredential] from the Windows Credential Manager. This only works for Generic Credentials.
<#
.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