CmdID

CmdID / PowerShell / Cmdlets / Export

Export-HgsKeyProtectionState

Exports Key Protection Service configuration and certificates. Windows Server PowerShell reference

From the Windows Server PowerShell reference 5 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

5 in the Windows Server PowerShell reference
-ForceForces the command to run without asking for user confirmation.
-PasswordSpecifies the password which protects private keys contained within the exported configuration.
-PathSpecifies the path of the file to which the configuration state is written.
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-WhatIf, -wiShows what would happen if the cmdlet runs.