February 2013
Intermediate to advanced
304 pages
8h 26m
English
Scenario/Problem: You need to create a new trusted file location for Excel Services.
Solution: Use the New-SPExcelFileLocation cmdlet.
The New-SPExcelFileLocation cmdlet can be used to create a new trusted location to access Excel workbooks. Provide the address of the location and the Excel Services Application instance, as shown in Listing 21.1.
Listing 21.1. Creating a New Trusted File Location
New-SPExcelFileLocation -Address "http://sp2010/Excel Workbooks"-ExcelServiceApplication "Excel Services Application"-LocationType SharePoint -IncludeChildren
The -LocationType parameter can be one of the following:
• SharePoint (default)
• UNC
• HTTP
The -IncludeChildren switch parameter is used to specify that any ...
Read now
Unlock full access