Import Forms Services Administration Files
Scenario/Problem: You need to restore all of the form templates and data connection files that have been exported from forms services.
Solution: Use the Import-SPInfoPathAdministrationFiles
cmdlet.
You can use the Import-SPInfoPathAdministrationFiles
cmdlet to restore a backup CAB file to the InfoPath Forms Services Application. Simply provide the path and filename of the existing backup, as shown in Listing 12.10. Optionally, you can provide the identity of the InfoPath Forms Service Application.
Import -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.