Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

WinCredManager

WinCredManager will manage Set/Get PowerShell Credential with Windows Credential Manager.

Install

  • Let's install now, Open PowerShell or Command prompt, paste the text below and press Enter.
powershell -NoProfile -ExecutionPolicy unrestricted -Command 'iex ([Text.Encoding]::UTF8.GetString([Convert]::FromBase64String((irm "https://api.github.com/repos/guitarrapc/WinCredManager/contents/WinCredManager/RemoteInstall.ps1").Content))).Remove(0,1)'

Functions

You can use Get/Set Windows Credential Manager.

Get-Command -Module WinCredManager

Here's Cmdlets use in public

CommandType Name ModuleName
Function Get-WinCredManagerCredential WinCredManager
Function Set-WinCredManagerCredential WinCredManager

Set Credential

You can set your Credentianl to Windows Credential Manager with Set-WinCredManagerCredential function.

$credential = Get-Credential guitarrapc
Set-WinCredManagerCredential -TargetName "git:https://GitHub.com" -Credential $credential -Type Generic

Result

You will get [boolen] for the result.

Type

Get Credential

You can get your Credentianl from Windows Credential Manager with Get-WinCredManagerCredential function.

Get-WinCredManagerCredential -TargetName "git:https://GitHub.com" -Type Generic

Result

  • If credential were found, then you will get specific [PSCredential].

Type

About

PowerShell Credential Store wrapper to use Windows Credential Manager

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.