TechNet
Products
IT Resources
Downloads
Training
Support
Products
Windows
Windows Server
System Center
Microsoft Edge
Office
Office 365
Exchange Server
SQL Server
SharePoint Products
Skype for Business
See all products »
Resources
Channel 9 Video
Evaluation Center
Learning Resources
Microsoft Tech Companion App
Microsoft Technical Communities
Microsoft Virtual Academy
Script Center
Server and Tools Blogs
TechNet Blogs
TechNet Flash Newsletter
TechNet Gallery
TechNet Library
TechNet Magazine
TechNet Wiki
Windows Sysinternals
Virtual Labs
Solutions
Networking
Cloud and Datacenter
Security
Virtualization
Updates
Service Packs
Security Bulletins
Windows Update
Trials
Windows Server 2016
System Center 2016
Windows 10 Enterprise
SQL Server 2016
See all trials »
Related Sites
Microsoft Download Center
Microsoft Evaluation Center
Drivers
Windows Sysinternals
TechNet Gallery
Training
Expert-led, virtual classes
Training Catalog
Class Locator
Microsoft Virtual Academy
Free Windows Server 2012 courses
Free Windows 8 courses
SQL Server training
Microsoft Official Courses On-Demand
Certifications
Certification overview
Special offers
MCSE Cloud Platform and Infrastructure
MCSE: Mobility
MCSE: Data Management and Analytics
MCSE Productivity
Other resources
Microsoft Events
Exam Replay
Born To Learn blog
Find technical communities in your area
Azure training
Official Practice Tests
Support options
For business
For developers
For IT professionals
For technical support
Support offerings
More support
Microsoft Premier Online
TechNet Forums
MSDN Forums
Security Bulletins & Advisories
Not an IT pro?
Microsoft Customer Support
Microsoft Community Forums
Sign in
Home
Library
Wiki
Learn
Gallery
Downloads
Support
Forums
Blogs
Resources For IT Professionals
United States (English)
Россия (Pусский)
中国(简体中文)
Brasil (Português)
Skip to locale bar
Editing: Using Windows PowerShell Commands to Export and Import Forefront Protection 2010 for SharePoint Configuration Settings in a Multi-Server Environment (en-US)
Wiki
>
TechNet Articles
>
Using Windows PowerShell Commands to Export and Import Forefront Protection 2010 for SharePoint Configuration Settings in a Multi-Server Environment (en-US)
Article
Edit
History
Title
<p class="MsoNormal" style="margin-top: 0in; margin-right: 0in; margin-bottom: 10pt; margin-left: 0in;"><span style="font-family: calibri; font-size: small;">If you have multiple instances of Forefront Protection 2010 for SharePoint (FPSP) installed in your messaging environment, you can use Windows PowerShell commands in the Forefront Management Shell to manage FPSP configuration settings among multiple servers. Each instance of FPSP must be installed individually and Windows PowerShell provides a mechanism with which you can configure and then deploy different FPSP configuration settings (policies) to different FPSP servers using simple export and import commands. <o:p></o:p></span></p> <span><span style="font-family: calibri; font-size: small;"> <p style="margin-top: 0in; margin-right: 0in; margin-bottom: 10pt; margin-left: 0in;"><span style="font-family: calibri; font-size: small;"><strong>Note:</strong> Alternatively, if you are managing FPSP on multiple SharePoint servers, you can use the Microsoft Forefront Protection Server Management Console (FPSMC) to manage your FPSP instances. You can download FPSMC from the Microsoft Download Center at the following location: <a href="http://go.microsoft.com/fwlink/?LinkID=208514" id="ctl00_MTCS_main_ctl02" target="blank">Microsoft Forefront Protection Server Management Console (FPSMC)</a>. Documentation for FPSMC can be found in the TechNet library at <a href="http://technet.microsoft.com/en-us/library/gg507717.aspx" id="ctl00_MTCS_main_ctl03">Forefront Protection Server Management Console</a>.<br /> </span></p> </span> <p style="margin-top: 0in; margin-right: 0in; margin-bottom: 10pt; margin-left: 0in;"> </p> </span> <p class="MsoListParagraphCxSpFirst" style="text-indent: -0.25in; margin-top: 0in; margin-right: 0in; margin-bottom: 0pt; margin-left: 0.5in;"><span style="font-family: calibri; font-size: small;"><span style="color: #000000;">1. On each SharePoint server in your environment, install each instance of FPSP individually by performing the following steps. (If you have already installed multiple instances of FPSP, you can proceed to step 2.)<br /> <br /> </span><span><o:p></o:p></span></span></p> <p class="MsoListParagraphCxSpMiddle" style="margin-top: 0in; margin-right: 0in; margin-bottom: 0pt; margin-left: 0.5in;"><span style="font-family: calibri; font-size: small;"><strong><span style="color: #000000;">Important:</span></strong><span style="color: #000000;"> The account used to install FPSP should be entered using the <em><span style="font-family: calibri, sans-serif;">Domain</span></em>\<em><span style="font-family: calibri, sans-serif;">Account</span></em> format when the server is part of a domain. This account must be a member of the Local Administrators group on the SharePoint server and have SharePoint Farm Administrators privileges. If SharePoint is configured to connect to the database using Windows authentication, this account must also be a member of the SQL Sysadmin role on the database server.<o:p></o:p></span></span></p> <p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; margin-top: 0in; margin-right: 0in; margin-bottom: 0pt; margin-left: 1in;"><span><span style="font-family: calibri; font-size: small;">a.</span><span style="font: normal normal normal 7pt/normal 'times new roman';"> </span></span><span style="font-family: calibri; font-size: small;"><span style="color: #000000;">Double-click the forefrontsharepointsetup.exe file in order to launch the Setup Wizard.</span><span><o:p></o:p></span></span></p> <p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; margin-top: 0in; margin-right: 0in; margin-bottom: 0pt; margin-left: 1in;"><span><span style="font-family: calibri; font-size: small;">b.</span><span style="font: normal normal normal 7pt/normal 'times new roman';"> </span></span><span style="font-family: calibri; font-size: small;"><span style="color: #000000;">Read and accept the license agreement.</span><span><o:p></o:p></span></span></p> <p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; margin-top: 0in; margin-right: 0in; margin-bottom: 0pt; margin-left: 1in;"><span><span style="font-family: calibri; font-size: small;">c.</span><span style="font: normal normal normal 7pt/normal 'times new roman';"> </span></span><span style="font-family: calibri; font-size: small;"><span style="color: #000000;">Optionally specify the Program Folder and Data Folder if you will not be using the defaults. </span><span><o:p></o:p></span></span></p> <p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; margin-top: 0in; margin-right: 0in; margin-bottom: 0pt; margin-left: 1in;"><span><span style="font-family: calibri; font-size: small;">d.</span><span style="font: normal normal normal 7pt/normal 'times new roman';"> </span></span><span style="font-family: calibri; font-size: small;"><span style="color: #000000;">If you will be using a proxy server for engine and definition updates, specify this information.</span><span><o:p></o:p></span></span></p> <p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; margin-top: 0in; margin-right: 0in; margin-bottom: 0pt; margin-left: 1in;"><span><span style="font-family: calibri; font-size: small;">e.</span><span style="font: normal normal normal 7pt/normal 'times new roman';"> </span></span><span style="font-family: calibri; font-size: small;"><span style="color: #000000;">Specify an account and password for database access. Use the <em><span style="font-family: calibri, sans-serif;">Domain</span></em>\<em><span style="font-family: calibri, sans-serif;">Account</span></em> format when the server is part of a domain. This account must be a member of the Local Administrators group on the SharePoint server and have SharePoint Farm Administrators privileges. If SharePoint is configured to connect to the database using Windows authentication, this account must also be a member of the SQL Sysadmin role on the database server..</span><span><o:p></o:p></span></span></p> <p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; margin-top: 0in; margin-right: 0in; margin-bottom: 0pt; margin-left: 1in;"><span><span style="font-family: calibri; font-size: small;">f.</span><span style="font: normal normal normal 7pt/normal 'times new roman';"> </span></span><span style="font-family: calibri; font-size: small;">Optionally opt-in to use Microsoft Update to check for updates, and to join the Customer Experience Improvement Program.<o:p></o:p></span></p> <p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; margin-top: 0in; margin-right: 0in; margin-bottom: 0pt; margin-left: 1in;"><span><span style="font-family: calibri; font-size: small;">g.</span><span style="font: normal normal normal 7pt/normal 'times new roman';"> </span></span><span style="font-family: calibri; font-size: small;">Review and confirm your selected settings and begin the installation. <o:p></o:p></span></p> <p class="MsoListParagraphCxSpLast" style="text-indent: -0.25in; margin-top: 0in; margin-right: 0in; margin-bottom: 10pt; margin-left: 0.5in;"><span><span style="font-family: calibri; font-size: small;">2.</span><span style="font: normal normal normal 7pt/normal 'times new roman';"> </span></span><span style="font-family: calibri; font-size: small;">Configure an instance of FPSP on one of your SharePoint servers. Although FPSP offers malware protection “out-of-the-box,” you will likely want to configure certain FPSP settings so that it will perform optimally within your SharePoint environment. <o:p></o:p></span></p> <p class="MsoNormal" style="margin-top: 0in; margin-right: 0in; margin-bottom: 10pt; margin-left: 0.5in;"><span style="font-family: calibri; font-size: small;"><strong>Tip:</strong> If you want to deploy different FPSP configurations (policies) to different servers, you may want configure multiple FPSP servers, each with different configuration settings, and then perform a series of exports and imports to various target servers.<span> </span><o:p></o:p></span></p> <p class="MsoListParagraphCxSpFirst" style="text-indent: -0.25in; margin-top: 0in; margin-right: 0in; margin-bottom: 0pt; margin-left: 0.5in;"><span><span style="font-family: calibri; font-size: small;">3.</span><span style="font: normal normal normal 7pt/normal 'times new roman';"> </span></span><span style="font-family: calibri; font-size: small;">On the configured FPSP server, using Windows PowerShell commands in the Forefront Management Shell, export your FPSP configuration settings by performing the following steps:<o:p></o:p></span></p> <p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; margin-top: 0in; margin-right: 0in; margin-bottom: 0pt; margin-left: 1in;"><span><span style="font-family: calibri; font-size: small;">a.</span><span style="font: normal normal normal 7pt/normal 'times new roman';"> </span></span><span style="font-family: calibri; font-size: small;"><span style="color: #000000;">Create a new folder for your settings (for example: <strong><span style="font-family: calibri, sans-serif;">C:\</span></strong><em><span style="font-family: calibri, sans-serif;">ConfigSettings</span></em>).</span><span><o:p></o:p></span></span></p> <p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; margin-top: 0in; margin-right: 0in; margin-bottom: 0pt; margin-left: 1in;"><span><span style="font-family: calibri; font-size: small;">b.</span><span style="font: normal normal normal 7pt/normal 'times new roman';"> </span></span><span style="font-family: calibri; font-size: small;"><span style="color: #000000;">Access the Forefront Management Shell by clicking <strong><span style="font-family: calibri, sans-serif;">Start</span></strong>, pointing to <strong><span style="font-family: calibri, sans-serif;">All Programs</span></strong>, pointing to <strong><span style="font-family: calibri, sans-serif;">Microsoft Forefront Server Protection</span></strong>, and then clicking <strong><span style="font-family: calibri, sans-serif;">Forefront Management Shell</span></strong>.</span><span><o:p></o:p></span></span></p> <p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; margin-top: 0in; margin-right: 0in; margin-bottom: 0pt; margin-left: 1in;"><span><span style="font-family: calibri; font-size: small;">c.</span><span style="font: normal normal normal 7pt/normal 'times new roman';"> </span></span><span style="font-family: calibri; font-size: small;"><span style="color: #000000;">To export the configuration file to an .xml file, 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:<span> </span></span><span><o:p></o:p></span></span></p> <p class="MsoListParagraphCxSpMiddle" style="margin-top: 0in; margin-right: 0in; margin-bottom: 0pt; margin-left: 1in;"><code><span style="line-height: 115%; font-size: 10pt; color: #000000;">Export-FsspSettings -path c:\ConfigSettings\Export.xml<o:p></o:p></span></code></p> <p class="MsoListParagraphCxSpMiddle" style="margin-top: 0in; margin-right: 0in; margin-bottom: 0pt; margin-left: 1in;"><span style="font-family: calibri; font-size: small;">Note: <span style="color: #000000;">Extended options are not included when running this command.</span><o:p></o:p></span></p> <p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; margin-top: 0in; margin-right: 0in; margin-bottom: 0pt; margin-left: 1in;"><span><span style="font-family: calibri; font-size: small;">d.</span><span style="font: normal normal normal 7pt/normal 'times new roman';"> </span></span><span style="font-family: calibri; font-size: small;"><span style="color: #000000;">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):</span><span><o:p></o:p></span></span></p> <p class="MsoListParagraphCxSpMiddle" style="margin-top: 0in; margin-right: 0in; margin-bottom: 0pt; margin-left: 1in;"><code><span style="line-height: 115%; font-size: 10pt; color: #000000;">Get-FsspExtendedOption -name * >> c:\ConfigSettings\Extended.txt<o:p></o:p></span></code></p> <p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; margin-top: 0in; margin-right: 0in; margin-bottom: 0pt; margin-left: 0.5in;"><strong><span><span style="font-family: calibri; font-size: small;">4.</span><span style="font: normal normal normal 7pt/normal 'times new roman';"> </span></span></strong><span style="font-family: calibri; font-size: small;">You can import the configuration settings from the server specified in step 3 to additional FPSP servers. <strong><span><o:p></o:p></span></strong></span></p> <p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; margin-top: 0in; margin-right: 0in; margin-bottom: 0pt; margin-left: 1in;"><span><span style="font-family: calibri; font-size: small;">a.</span><span style="font: normal normal normal 7pt/normal 'times new roman';"> </span></span><span style="font-family: calibri; font-size: small;"><span style="color: #000000;">On the target server, access the Forefront Management Shell by clicking <strong><span style="font-family: calibri, sans-serif;">Start</span></strong>, pointing to <strong><span style="font-family: calibri, sans-serif;">All Programs</span></strong>, pointing to <strong><span style="font-family: calibri, sans-serif;">Microsoft Forefront Server Protection</span></strong>, and then clicking <strong><span style="font-family: calibri, sans-serif;">Forefront Management Shell</span></strong>.</span><span><o:p></o:p></span></span></p> <p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; margin-top: 0in; margin-right: 0in; margin-bottom: 0pt; margin-left: 1in;"><span><span style="font-family: calibri; font-size: small;">b.</span><span style="font: normal normal normal 7pt/normal 'times new roman';"> </span></span><span style="font-family: calibri; font-size: small;"><span style="color: #000000;">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):<span> </span></span><span><o:p></o:p></span></span></p> <p class="MsoListParagraphCxSpMiddle" style="margin-top: 0in; margin-right: 0in; margin-bottom: 0pt; margin-left: 1in;"><code><span style="line-height: 115%; font-size: 10pt; color: #000000;">Import-FsspSettings -path c:\ConfigSettings\Export.xml<o:p></o:p></span></code></p> <p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; margin-top: 0in; margin-right: 0in; margin-bottom: 0pt; margin-left: 1in;"><span><span style="font-family: calibri; font-size: small;">c.</span><span style="font: normal normal normal 7pt/normal 'times new roman';"> </span></span><span style="font-family: calibri; font-size: small;"><span style="color: #000000;">To list all of your current extended options, along with their values, enter the following Windows PowerShell command:</span><span><o:p></o:p></span></span></p> <p class="MsoListParagraphCxSpMiddle" style="margin-top: 0in; margin-right: 0in; margin-bottom: 0pt; margin-left: 1in;"><code><span style="line-height: 115%; font-size: 10pt; color: #000000;">Get-FsspExtendedOption -name *</span></code><o:p></o:p></p> <p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; margin-top: 0in; margin-right: 0in; margin-bottom: 0pt; margin-left: 1in;"><span><span style="font-family: calibri; font-size: small;">d.</span><span style="font: normal normal normal 7pt/normal 'times new roman';"> </span></span><span style="font-family: calibri; font-size: small;"><span style="color: #000000;">Compare your current extended options to the options you previously exported to the Extended.txt file.<span> </span></span><span><o:p></o:p></span></span></p> <p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; margin-top: 0in; margin-right: 0in; margin-bottom: 0pt; margin-left: 1in;"><span><span style="font-family: calibri; font-size: small;">e.</span><span style="font: normal normal normal 7pt/normal 'times new roman';"> </span></span><span style="font-family: calibri; font-size: small;"><span style="color: #000000;">If you want to modify any of your current extended options, enter the following Windows PowerShell command:</span><span><o:p></o:p></span></span></p> <p class="MsoListParagraphCxSpMiddle" style="margin-top: 0in; margin-right: 0in; margin-bottom: 0pt; margin-left: 1in;"><code><span style="line-height: 115%; font-size: 10pt; color: #000000;">Set-FsspExtendedOption -name </span></code><em><span style="line-height: 115%; font-family: verdana, sans-serif; font-size: 8pt; color: #000000;">name</span></em><span style="line-height: 115%; font-family: verdana, sans-serif; font-size: 8pt; color: #000000;"> </span><code><span style="line-height: 115%; font-size: 10pt; color: #000000;">-Value </span></code><em><span style="line-height: 115%; font-family: verdana, sans-serif; font-size: 8pt; color: #000000;">value</span></em><o:p></o:p></p> <p class="MsoListParagraphCxSpMiddle" style="margin-top: 0in; margin-right: 0in; margin-bottom: 0pt; margin-left: 1in;"><span style="font-family: calibri; font-size: small;"><span style="color: #000000;">Where <em><span style="font-family: calibri, sans-serif;">name </span></em>is the parameter name and<em><span style="font-family: calibri, sans-serif;"> value</span></em> is the new parameter value. You must enter each extended option separately.</span><span><o:p></o:p></span></span></p> <p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; margin-top: 0in; margin-right: 0in; margin-bottom: 0pt; margin-left: 1in;"><span><span style="font-family: calibri; font-size: small;">f.</span><span style="font: normal normal normal 7pt/normal 'times new roman';"> </span></span><span style="font-family: calibri; font-size: small;"><span style="color: #000000;">If you want to recreate extended options that do not exist on your current system, enter the following Windows PowerShell command:</span><span><o:p></o:p></span></span></p> <p class="MsoListParagraphCxSpLast" style="margin-top: 0in; margin-right: 0in; margin-bottom: 10pt; margin-left: 1in;"><code><span style="line-height: 115%; font-size: 10pt; color: #000000;">New-FsspExtendedOption -name </span></code><em><span style="line-height: 115%; font-family: verdana, sans-serif; font-size: 8pt; color: #000000;">name</span></em><span style="line-height: 115%; font-family: verdana, sans-serif; font-size: 8pt; color: #000000;"> </span><code><span style="line-height: 115%; font-size: 10pt; color: #000000;">-Value </span></code><em><span style="line-height: 115%; font-family: verdana, sans-serif; font-size: 8pt; color: #000000;">value</span></em><o:p></o:p></p> <p class="MsoNormal" style="page-break-after: avoid; line-height: 13.5pt; margin-top: 0in; margin-right: 0in; margin-bottom: 10pt; margin-left: 0in; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial;"><span style="font-family: calibri; font-size: small;"><strong><span style="color: #333333;">Note:</span></strong><span style="color: #333333;"> </span><span style="color: #000000;">If you are using the export/import functions as part of a backup and/or disaster recovery plan for your FPSP installations, you should consult the </span></span><a href="http://technet.microsoft.com/en-us/library/dd639456.aspx"><span style="font-family: calibri; font-size: small; color: #0000ff;">Backing up and restoring</span></a><span style="font-family: calibri; font-size: small;"><span style="color: #333333;"> </span><span style="color: #000000;">FPSP topic in the TechNet library.</span><span style="color: #333333;"><o:p></o:p></span></span></p> <p class="MsoNormal" style="margin-top: 0in; margin-right: 0in; margin-bottom: 10pt; margin-left: 0in;"><span style="font-family: calibri; font-size: small;">More information:<o:p></o:p></span></p> <p class="MsoNormal" style="line-height: normal; margin-top: 0in; margin-right: 0in; margin-bottom: 0pt; margin-left: 0in;"><span><a href="http://technet.microsoft.com/en-us/library/cc483014.aspx"><span style="font-size: small; color: #0000ff;"><span style="font-family: calibri;">Installing Forefront Protection 2010 for SharePoint</span><span style="font-family: 'times new roman', serif; font-size: 12pt;"> <o:p></o:p></span></span></a></span></p> <p class="MsoNormal" style="line-height: normal; margin-top: 0in; margin-right: 0in; margin-bottom: 0pt; margin-left: 0in;"><a href="http://technet.microsoft.com/en-us/library/cc483031.aspx"><span style="font-family: calibri; font-size: small; color: #0000ff;">FPSP Operations</span></a><span class="MsoHyperlink"><o:p></o:p></span></p> <p class="MsoNormal" style="line-height: normal; margin-top: 0in; margin-right: 0in; margin-bottom: 0pt; margin-left: 0in;"><span class="MsoHyperlink"><a href="http://technet.microsoft.com/en-us/library/ff518400.aspx"><span style="font-family: calibri; font-size: small; color: #0000ff;">Best practices</span></a></span><span><o:p></o:p></span></p>
Comment
Tags
Please add 3 and 4 and type the answer here: