/PSDataProtection

A PowerShell module that utilizes Microsoft Data Protection to encrypt and decrypt secrets.

Primary LanguageC#MIT LicenseMIT

PowerShell Data Protection Module

The PSDataProtection module utilizes Microsoft Data Protection to encrypt and decrypt secrets.

Installation

The module is distributed as a Windows Installer package (the PowerShell Gallery is not suitable for some enterprises).

Run the installer manually or in unattended mode:

msiexec.exe /i ps-data-protection.msi /qn

The default installation path is:

%ProgramFiles%\WindowsPowerShell\Modules\PSDataProtection

Documentation

Use Get-Command and Get-Help to enumerate the cmdlets with this module and obtain their documentation:

Get-Command -Module PSDataProtection
Get-Help New-DataProtectionSecret -Full

Useful Links