Home

Thursday, January 23, 2014

SharePoint 2013: How to Configure the Word Automation Service Application using PowerShell



Last Updated March 28, 2014


Description

This post describes how to configure the SharePoint Server 2013 Word Automation Service Application using PowerShell.


Solution

1)  Document the Naming Convention

Determine a naming convention for each of the Word Automation Service Application components.  Document the naming convention.

Example:
Application Pool Service Account:  Domain\SvcAccount (this should already be created)
Application Pool: SvcApp_SPServiceApplicationPool_02 (this should already be created)
Service Application: SvcApp_SPWordConversionServiceApplication_01
Service Application Proxy:  SvcApp_SPWordConversionServiceApplication_01_Proxy_01

2)  Open the SharePoint 2013 Management Shell as Administrator.

3)  Verify the Name of the Application Pool.
Get-SPServiceApplicationPool | Select Name

4)  Get the existing Application Pool.
$SvcAppPool02 = Get-SPServiceApplicationPool "SvcApp_SPServiceApplicationPool_02"

5)  Open the SharePoint 2013 Management Shell as Administrator.

6)  Create the Service Application and assign it to the Application Pool.
$SvcApp = New-SPWordConversionServiceApplication –ApplicationPool $SvcAppPool02 -Name "SvcApp_SPWordConversionServiceApplication_01" -DatabaseName "SvcApp_SPWordConversionServiceApplication_01_DB_01" -DatabaseServer "SQL Alias Name"

The Proxy is created when the New Service Application cmdlet is run.  It does not appear that the name of the Proxy may be set or changed independently for this Service Application.

7)  Verify Service Application.
Get-SPServiceApplication | Select Name

8)  Verify Service Application Proxy
Get-SPServiceApplicationProxy | Select Name



References

Microsoft TechNet (2012).  New-SPWordConversionServiceApplication.  Retrieved January 23, 2014 from http://technet.microsoft.com/en-us/library/ff608091.aspx.

Microsoft TechNet (2012).  Service application cmdlets in SharePoint 2013.  Retrieved January 22, 2014 from http://technet.microsoft.com/en-us/library/ee906561.aspx.

Microsoft TechNet (2012).  SharePoint 2013 - Service Applications.  Retrieved January 22, 2014 from http://social.technet.microsoft.com/wiki/contents/articles/12512.sharepoint-2013-service-applications.aspx.

No comments:

Blog Archive

Followers