Applies to: Forefront Protection for SharePoint
Topic Last Modified: 2011-04-19
Using the Forefront Management Shell to enter Windows PowerShell commands, you can export your Microsoft Forefront Protection 2010 for SharePoint 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.
Note: |
|
This topic describes simple import and export procedures. If you are backing up and restoring Forefront Protection 2010 for SharePoint data to aid in a disaster recovery situation, see Backing up and restoring the product.
|
To export your configuration settings
-
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.
-
To export the configuration file to an .xml file, enter the following WindowsPowerShell 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-FsspSettings -path c:\ConfigSettings\Export.xml
Note: |
|---|
|
Extended options are not included when running this command.
|
-
If you have set any extended options, you can export these settings to a text file that can be referenced if you will be configuring extended options on the target computer. 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-FsspExtendedOption -name * >> c:\ConfigSettings\Extended.txt
To import your configuration settings
-
Click Start, point to All Programs, point to Microsoft Forefront Server Protection, and then click Forefront Management Shell.
-
To import the configuration file, enter the following Windows PowerShell command (where path is the location and name of the .xml file created in the previous procedure):
Import-FsspSettings -path c:\ConfigSettings\Export.xml
-
To list all of your current extended options, along with their values, enter the following Windows PowerShell command:
Get-FsspExtendedOption -name *
-
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-FsspExtendedOption -name
name
-Value
value
Where 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-FsspExtendedOption -name
name
-Value
value