Get a Specific Work Management Service Application Proxy Instance

Scenario/Problem: You need to obtain a Metadata Service Application Proxy instance reference.

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

Providing the identity of the proxy with the Get-SPWorkManagementService ApplicationProxy cmdlet retrieves a specific Work Management Service Application Proxy instance. Use this to assign the results to an object for use in other cmdlets, as shown in Listing 19.7.

Listing 19.7. Assigning a Variable to a Specific Work Management Service Proxy

$workMgmtProxy = Get-SPServiceApplicationProxy -Identity f1e2d3bb-904b-470c-8061-d28e6f411fd7

Instead of the ...

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.