This is the built-in help made by Microsoft for the command 'Restore-CARoleService', in PowerShell version 5 - as retrieved from
Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.
For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.
Restores the CA database and private key information.
Restore-CARoleService [-Path] <String> [-Force] -DatabaseOnly [-Confirm] [-WhatIf] [<CommonParameters>]
Restore-CARoleService [-Path] <String> [-Force] [-Password <SecureString>] -KeyOnly [-Confirm] [-WhatIf] [<CommonParameters>]
Restore-CARoleService [-Path] <String> [-Force] [-Password <SecureString>] [-Confirm] [-WhatIf] [<CommonParameters>]
The Restore-CARoleService cmdlet restores the certification authority (CA) database and private key information.
<
Online Version: http://go.microsoft.com/fwlink/p/?linkid=306661
Backup-CARoleService
<
Example 1: Restore the CA private key and certificate
PS C:\> Restore-CARoleService -Path "C:\CABackup" -KeyOnly
This command restores the CA private key and certificate from the specified path.
Example 2: Restore the CA database only
PS C:\>Restore-CARoleService –Path "C:\CABackup" –DatabaseOnly
This command restores the CA database from the specified path. The command does not restore the CA private key information.
Example 3: Restore the CA key only
PS C:\>Restore-CARoleService –Path "C:\CABackup" -KeyOnly
This command restores the CA private key information to the specified path. The command does not restore the CA database.