My Profile Photo Title

Thoughts about DevOps and automation from a Windows guy


Import / Export PowerShell Credentials Module feature image

Import / Export PowerShell Credentials Module

Here is a handle little PS module I picked up from halr9000.com to import/export credentials to a file securely. The only person who can import and therefore decrypt the file is the user who exported it.

Usage example:

1
2
3
4
5
Import-Module Credentials
$creds = Get-Credential

Export-PSCredential -Credential $creds -Path 'c:\temp\creds.xml'
$newCreds = Import-PScredential -Path 'C:\Temp\creds.xml'

Show your support

Become a GitHub Sponsor
Become a Patron

Like books? Check these out!

You might also like:

Sharing is caring