Get-SPExcelFileLocation

신뢰할 수 있는 파일 위치 또는 해당 위치 목록을 반환합니다.

Syntax

Get-SPExcelFileLocation
   [[-Identity] <SPExcelFileLocationPipeBind>]
   -ExcelServiceApplication <SPExcelServiceApplicationPipeBind>
   [-AssignmentCollection <SPAssignmentCollection>]
   [<CommonParameters>]

Description

Get-SPExcelFileLocation cmdlet은 Excel Services 애플리케이션이 통합 문서를 로드하는 위치를 가져옵니다. Excel Services 애플리케이션은 신뢰할 수 있는 파일 위치에 저장된 통합 문서만 로드합니다. 신뢰할 수 있는 파일 위치의 속성은 Excel Services 애플리케이션에서 통합 문서를 로드할 때 사용할 수 있는 방법을 제어합니다. Excel Services 애플리케이션은 항상 통합 문서가 로드된 신뢰할 수 있는 파일 위치에 정의된 속성을 적용합니다. 신뢰할 수 있는 파일 위치에 사용되는 속성은 통합 문서의 파일 경로와 신뢰할 수 있는 파일 위치의 주소를 비교하여 결정됩니다.

SharePoint 제품용 Windows PowerShell에 대한 사용 권한 및 최신 정보는 SharePoint Server Cmdlets를 참조하세요.

예제

---------------예제 1---------------

Get-SPExcelServiceApplication -Identity "MyExcelService" | Get-SPExcelFileLocation

다음은 MyExcelService라는 Excel Services Application Web Service 애플리케이션의 신뢰할 수 있는 파일 위치 목록을 표시하는 예제입니다.

---------------예제 2---------------

Get-SPExcelServiceApplication -Identity "MyExcelService" | Get-SPExcelFileLocation | Format-list *

다음은 myExcelService라는 Excel Services Application Web Service 애플리케이션의 신뢰할 수 있는 파일 위치 목록을 표시한 다음 속성 목록의 형식을 테이블로 지정하는 예제입니다.

---------------예제 3---------------

Get-SPExcelServiceApplication -Identity "MyExcelService" | Get-SPExcelFileLocation | where {$_.ExternalDataAllowed -ne "None"}

다음은 MyExcelService라는 Excel Services Application Web Service 애플리케이션에 대한 외부 데이터 연결을 허용하는 신뢰할 수 있는 파일 위치 목록을 표시하는 예제입니다.

매개 변수

-AssignmentCollection

올바른 삭제를 위해 개체를 관리합니다. SPWeb 또는 SPSite와 같은 개체를 사용하는 경우 많은 양의 메모리를 사용할 수 있으며, Windows PowerShell 스크립트에서 이러한 개체를 사용하려면 올바른 메모리 관리가 필요합니다. SPAssignment 개체를 사용하면 개체를 하나의 변수에 지정하고 해당 개체가 필요한 시기가 지나면 개체를 삭제하여 메모리를 확보할 수 있습니다. SPWeb, SPSite 또는 SPSiteAdministration 개체를 사용하는 경우 지정 컬렉션 또는 Global 매개 변수가 사용되지 않으면 해당 개체가 자동으로 삭제됩니다.

Global 매개 변수가 사용되는 경우 모든 개체가 전역 저장소에 포함됩니다. 개체가 즉시 사용되지 않거나 Stop-SPAssignment 명령을 사용하여 삭제되지 않는 경우 메모리 부족 시나리오가 발생할 수 있습니다.

Type:SPAssignmentCollection
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013

-ExcelServiceApplication

SPExcelFileLocation 목록 개체가 포함된 Excel Services Application Web Service 애플리케이션을 지정합니다.

형식은 12345678-90ab-cdef-1234-567890bcdefgh 형식의 유효한 GUID여야 합니다. 팜에 있는 Excel Services Application Web Service 애플리케이션의 유효한 이름(예: MyExcelService1) 또는 유효한 SPExcelServiceApplication 개체의 인스턴스입니다.

Type:SPExcelServiceApplicationPipeBind
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013

-Identity

반환할 SPExcelFileLocation 개체를 지정합니다. Identity 매개 변수를 지정하지 않으면 cmdlet은 지정된 의 모든 파일 위치를 반환합니다. 애플리케이션 웹 서비스 애플리케이션을 Excel Services.

형식은 파일 위치를 식별하는 유효한 문자열이어야 합니다. 형식 https://myPortal/myTeam에서 , C:\folder_name 형식으로 경로를 식별하는 유효한 문자열, \\computer_name\share 형식의 신뢰할 수 있는 위치에 대한 유효한 UNC 경로, \\computer_name\share, 양식 12345678-90ab-cdef-1234-567890bcdefgh 또는 유효한 SPExcelFileLocation 개체의 인스턴스입니다.

Type:SPExcelFileLocationPipeBind
Position:1
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013