Modify Database Information

Scenario/Problem: You need to modify the database that Word Services should use.

Solution: Use the database parameters with the Set-SPWordConversionServiceApplication cmdlet.

Three database parameters can be used to configure the database settings for Word Services: DatabaseServer, DatabaseName, and DatabaseCredential. The DatabaseCredential parameter is used only if the authorization is performed through SQL authentication. Even though all these parameters are optional overall, if the DatabaseCredential parameter is used, then DatabaseServer and DatabaseName become required. Listing 25.4 shows a sample modification of the database settings.

Listing 25.4. Changing the Database Configuration for Word Services

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.