Get-SPWebApplicationAppDomain

특정 웹 응용 프로그램에 대한 모든 앱 도메인을 반환합니다.

Syntax

Get-SPWebApplicationAppDomain
   [[-Identity] <SPAppDomainPipeBind>]
   -AppDomain <String>
   [-AssignmentCollection <SPAssignmentCollection>]
   [-Zone <SPUrlZone>]
   [<CommonParameters>]
Get-SPWebApplicationAppDomain
   [[-Identity] <SPAppDomainPipeBind>]
   -WebApplication <SPWebApplicationPipeBind>
   [-AssignmentCollection <SPAssignmentCollection>]
   [-Zone <SPUrlZone>]
   [<CommonParameters>]

Description

이 cmdlet에는 둘 이상의 매개 변수 집합이 포함됩니다. 한 매개 변수 집합의 매개 변수만 사용할 수 있으며 서로 다른 매개 변수 집합의 매개 변수를 결합하면 안 됩니다. 매개 변수 세트를 사용하는 방법에 대한 자세한 내용은 Cmdlet 매개 변수 세트를 참조하세요.

Get-SPWebApplicationAppDoman cmdlet을 사용하여 특정 웹 응용 프로그램 또는 모든 웹 응용 프로그램에 대한 모든 앱 도메인을 반환합니다. 매개 변수를 지정하지 않으면 기본 영역이 사용됩니다.

예제

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

Get-SPWebApplicationAppDomain

팜에 있는 모든 웹 응용 프로그램의 각 앱 도메인에 대해 하나씩 SPAppDomain 개체 목록을 반환합니다.

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

Get-SPWebApplicationAppDomain -Zone Default

팜에 있는 모든 웹 응용 프로그램에 대한 기본 영역의 각 앱 도메인에 대해 하나씩 SPAppDomain 개체 목록을 반환합니다.

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

Get-SPWebApplicationAppDomain -WebApplication https://www.contoso.com

모든 영역에 대한 지정된 웹 응용 프로그램의 각 앱 도메인에 대해 하나씩 SPAppDomain 개체 목록을 반환합니다.

---------------예제 4---------------

Get-SPWebApplicationAppDomain -AppDomain contosoapps.com

지정된 앱 도메인을 공유하는 각 웹 응용 프로그램과 영역 쌍에 대해 하나씩 SPAppDomain 개체 목록을 반환합니다.

매개 변수

-AppDomain

앱 도메인의 URI를 지정합니다.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-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 Subscription Edition

-Identity

도메인 이름 문자열(즉, contoso.com) 또는 SPAppDomain 개체를 지정합니다.

Type:SPAppDomainPipeBind
Position:1
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-WebApplication

앱 도메인을 구성할 웹 응용 프로그램의 GUID, URI 또는 이름을 지정합니다.

Type:SPWebApplicationPipeBind
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-Zone

앱 도메인을 할당할 보안 영역을 지정합니다.

  • 기본

  • 인트라넷

  • 인터넷

  • 엑스트라넷

  • 사용자 지정

값을 지정하지 않으면 기본값이 적용됩니다.

Type:SPUrlZone
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

입력

Microsoft.SharePoint.Administration.SPAppCmdlets.SPAppDomainPipeBind

Microsoft. SharePoint.PowerShell.SPAssignmentCollection

출력

System.Object