February 2013
Intermediate to advanced
304 pages
8h 26m
English
Scenario/Problem: You need to obtain a metadata service application proxy instance reference.
Solution: Use the Get-SPMetadataServiceApplicationProxy cmdlet to assign a variable the results using the -Identity parameter.
Providing the identity of the proxy with the Get-SPMetadataServiceApplicationProxy cmdlet retrieves a specific Metadata Service Application Proxy instance. Use this to assign the results to an object for use in other cmdlets, as shown in Listing 17.7.
Listing 17.7. Assigning a Variable to a Specific Metadata Service Application Proxy
$metadataProxy = Get-SPMetadataServiceApplication Proxy -Identityf3e6d88a-e0a7-455c-bbef-b4942e7607b5
Instead of the GUID, you can ...
Read now
Unlock full access