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
Parameters
-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.