CmdID

CmdID / PowerShell / Cmdlets / Restore

Restore-CARoleService

Restores the CA database and private key information. Windows Server PowerShell reference

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

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

Parameters

7 in the Windows Server PowerShell reference
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-DatabaseOnlyIndicates that the cmdlet restores only the certification authority database.
-ForceForces the command to run without asking for user confirmation.
-KeyOnlyIndicates that the cmdlet restores only the certification authority private key and certificate.
-PasswordSpecifies a password, as a secure string, to access the private key and certificate information.
-PathSpecifies the directory from which the cmdlet restores the CA database and private key.
-WhatIf, -wiShows what would happen if the cmdlet runs.