Get a Specific Trusted Data Connection Library
Scenario/Problem: You need to obtain a specific trusted data connection library reference.
Solution: Use the Get-SPExcelDataConnectionLibrary
cmdlet to assign a variable the results using the -Identity
and -ExcelServiceApplication
parameters.
Providing the identity of the trusted data connection library to the Get-SPExcelDataConnectionLibrary
cmdlet retrieves a specific data connection library instance. Use this to assign the results to a variable for use in other cmdlets, as shown in Listing 21.7.
$trustedLibrary = Get-SPExcelDataConnectionLibrary-Identity "http://sp2010/Data Connections"-ExcelServiceApplication "Excel ...
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.