Using the Forefront Management Shell to enter Windows PowerShell commands, you can export your Forefront Protection 2010 for Exchange Server (FPE) configuration to an .xml file that you can then use to:
- Customize your configuration settings after a
new installation.
- Duplicate that configuration on another
system.
- Help recover your system after a failure.
Caution: |
---|
When importing configuration settings from one server to another, all of the settings on the target computer will be overwritten. It is recommended that you only export and import configuration settings onto computers with similar role configurations. |
Note: |
---|
This topic describes simple import and export procedures. If you are backing up and restoring FPE data to aid in a disaster recovery situation, see Backing up and restoring. |
-
Create a new folder for your settings (for example: C:\ConfigSettings).
-
Export your configuration settings to an .xml file in that folder, by following these steps.
- Click Start, point to All Programs, point to
Microsoft Forefront Server Protection, and then click
Forefront Management Shell.
- Enter the following Windows PowerShell command, using the -path
parameter to identify the name of the .xml file to be created and
the folder into which it should be placed:
Export-FseSettings -path c:\ConfigSettings\Export.xml
The configuration file is exported to the .xml file.
- Click Start, point to All Programs, point to
Microsoft Forefront Server Protection, and then click
Forefront Management Shell.
-
If you have set any extended options, they must be exported separately, since they are not included in the previous command. To export all extended options to a text file called Extended.txt, type the following Windows PowerShell command (the "*" value of the -name parameter causes all extended options to be exported):
Get-FseExtendedOption -name * >> c:\ConfigSettings\Extended.txt
-
Click Start, point to All Programs, point to Microsoft Forefront Server Protection, and then click Forefront Management Shell.
-
Enter the following Windows PowerShell command:
Import-FseSettings -path c:\ConfigSettings\Export.txt
The configuration file is imported.
-
Enter the following Windows PowerShell command:
Get-FseExtendedOption -name *
All of your current extended options are listed along with their values.
-
Compare your current extended options to the options you previously exported to the Extended.txt file.
-
If you want to modify any of your current extended options, enter the following Windows PowerShell command:
Set-FseExtendedOption -name
name-Value
valueWhere name is the parameter name and value is the new parameter value. You must enter each extended option separately.
-
If you want to recreate extended options that do not exist on your current system, enter the following Windows PowerShell command:
New-FseExtendedOption -name
name-Value
value