Export Forms Services Administration Files

Scenario/Problem: You need to backup all of the form templates and data connection files that have been deployed to forms services.

Solution: Use the Export-SPInfoPathAdministrationFiles cmdlet.

You can use the Export-SPInfoPathAdministrationFiles cmdlet to produce a backup CAB file that contains all the forms and data connection files that have been deployed to the InfoPath Forms Services Application. Simply provide a path and filename, as shown in Listing 12.9. Optionally, you can provide the identity of the InfoPath Forms Service Application.

Listing 12.9. Backup InfoPath Forms Services Files to a CAB File

Export -SPInfoPathAdministrationFiles -Path E:\IPBackup.CAB

Get PowerShell™ for SharePoint® 2013 How-To now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.