Unpublish-SPServiceApplication

지정한 서비스 응용 프로그램이 팜 외부에서 공유되지 않도록 합니다.

Syntax

Unpublish-SPServiceApplication
         [-Identity] <SPServiceApplicationPipeBind>
         [-AssignmentCollection <SPAssignmentCollection>]
         [-Confirm]
         [-WhatIf]
         [<CommonParameters>]

Description

cmdlet을 Unpublish-SPServiceApplication 사용하여 팜 외부의 Identity 매개 변수로 지정된 서비스 애플리케이션 게시를 중지합니다.

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

예제

---------------예제---------------

UnPublish-SPServiceApplication 053c34be-d251-488c-8e94-644eae94da26

다음은 팜 외부에서 지정된 서비스 애플리케이션의 게시를 중지하는 예제입니다.

서비스 응용 프로그램 GUID는 각 팜에서 고유합니다. cmdlet을 Get-SPServiceApplication 실행하여 서비스 애플리케이션의 GUID를 확인하고 다른 SPServiceApplication cmdlet에 대한 cmdlet의 결과를 Get-SPServiceApplication 사용할 수 있습니다. 예를 들면 Publish-SPServiceApplication다음과 같습니다.

매개 변수

-AssignmentCollection

Manages objects for the purpose of proper disposal. Use of objects, such as SPWeb or SPSite, can use large amounts of memory and use of these objects in Windows PowerShell scripts requires proper memory management. Using the SPAssignment object, you can assign objects to a variable and dispose of the objects after they are needed to free up memory. When SPWeb, SPSite, or SPSiteAdministration objects are used, the objects are automatically disposed of if an assignment collection or the Global parameter is not used.

When the Global parameter is used, all objects are contained in the global store. If objects are not immediately used, or disposed of by using the Stop-SPAssignment command, an out-of-memory scenario can occur.

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

-Confirm

Prompts you for confirmation before executing the command. For more information, type the following command: get-help about_commonparameters

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-Identity

팜 외부에서 공유되지 않도록 할 서비스 응용 프로그램의 GUID를 지정합니다.

형식은 12345678-90ab-cdef-1234-567890bcdefgh 형식의 유효한 GUID여야 합니다.

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

-WhatIf

Displays a message that describes the effect of the command instead of executing the command. For more information, type the following command: get-help about_commonparameters

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition