HRA Server Commands
Applies To: Windows Server 2008, Windows Server 2012, Windows Server 2012 R2
This section contains the following commands.
reset config
show config
export
import
dump
HRA server commands
The following entries provide details for each command.
reset config
Deletes the Health Registration Authority (HRA) server configuration, including request policy and certification authority settings, and restores the HRA server to the default post-installation state.
Warning
Do not run this command if you want to maintain any of the settings you have configured at the HRA server. This command deletes all custom settings that you have configured, and after running this command, your settings cannot be recovered. Before you run this command, it is recommended that you use the export command to save the HRA server configuration to an XML file.
Syntax
reset config
show config
Displays the HRA server configuration. The displayed settings are: certificate validity period, HRA mode, policy OID status, certification authority servers, and timeout configuration.
Syntax
show config
export
Exports the HRA server configuration to a file in Extensible Markup Language (XML) format.
Syntax
export [filename =] filename**.xml**
Parameters
- filename
Required. Specifies the name of the XML file to which you want to export the HRA server configuration.
Example
export C:\hra.xml
import
Imports the HRA server configuration from a file in the XML file format.
Syntax
import [filename =] filename**.xml**
Parameters
- filename
Required. Specifies the name of the XML file from which you want to import the HRA server configuration.
Example
import C:\hra.xml
dump
Creates a script that contains the current configuration. If saved to a file, the script can be used to restore configuration settings.
Syntax
dump