Get a Specific Machine Translation Service Application Instance

Scenario/Problem: You need to obtain a Machine Translation Service application instance reference.

Solution: Use the Get-SPServiceApplication cmdlet to assign a variable the results using the -Identity parameter.

Providing the identity of the Machine Translation Service Application instance with the Get-SPServiceApplication cmdlet retrieves a specific Machine Translation Service instance. Use this to assign the results to an object for use in other cmdlets, as shown in Listing 20.2.

Listing 20.2. Assigning a Variable to a Specific Machine Translation Service Application

$translation = Get-SPServiceApplication-Identity 9e5136d3-c1ff-4ef4-b5cd-8fa6c07f027a

Instead of the GUID, ...

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.