Uninstall-SPWebPartPack

지정한 웹 파트 패키지를 제거합니다.

Syntax

Uninstall-SPWebPartPack
         [-Identity] <String>
         [-AssignmentCollection <SPAssignmentCollection>]
         [-Confirm]
         [-Language <UInt32>]
         [-WebApplication <SPWebApplicationPipeBind>]
         [-WhatIf]
         [-CompatibilityLevel <String>]
         [<CommonParameters>]

Description

cmdlet은 Uninstall-SPWebPartPack IDENTITy 매개 변수로 지정된 웹 파트 패키지를 제거합니다.

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

예제

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

Uninstall-SPWebPartPack  "mypart.wpp" -WebApplication https://portal

이 예제에서는 웹 애플리케이션 https://portal에서 mypart.wpp를 제거합니다.

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

Get-SPWebPartPack -WebApplication https://portal | Uninstall-SPWebPartPack

이 예제에서는 웹 응용 프로그램 https://portal에서 웹 파트 패키지를 모두 제거합니다.

매개 변수

-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

-CompatibilityLevel

{{Fill CompatibilityLevel description}}

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

-Confirm

명령을 실행하기 전에 사용자에게 확인 메시지를 표시합니다. 자세한 내용을 확인하려면 다음 명령을 입력하세요. 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

팜의 구성 데이터베이스에서 웹 파트 패키지를 지정합니다.

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

-Language

Specifies the language ID of the Web Part package to delete. If no language is specified, the Web Part package is uninstalled for all languages.

형식은 1033 형식의 유효한 언어 식별자여야 합니다.

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

-WebApplication

Specifies the Web application from which to uninstall the Web Part package. If no Web application is specified, the Web Part package is uninstalled from all Web applications.

형식은 WebApplication-1212 형식 또는 URL https://server_name/WebApplication-1212형식의 유효한 이름이어야 합니다.

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

-WhatIf

명령을 실행하는 대신에 명령의 효과를 설명하는 메시지를 표시합니다. 자세한 내용을 확인하려면 다음 명령을 입력하세요. 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