Remove-SPSiteSubscriptionFeaturePackMember

제공된 SharePoint 기능 집합에서 기능 정의를 제거합니다.

Syntax

Remove-SPSiteSubscriptionFeaturePackMember
      [-Identity] <SPSiteSubscriptionFeaturePackPipeBind>
      [-AllFeatureDefinitions]
      [-AssignmentCollection <SPAssignmentCollection>]
      [-Confirm]
      [-WhatIf]
      [<CommonParameters>]
Remove-SPSiteSubscriptionFeaturePackMember
      [-Identity] <SPSiteSubscriptionFeaturePackPipeBind>
      -FeatureDefinition <SPFeatureDefinitionPipeBind>
      [-AssignmentCollection <SPAssignmentCollection>]
      [-Confirm]
      [-WhatIf]
      [<CommonParameters>]

Description

This cmdlet contains more than one parameter set. You may only use parameters from one parameter set and you may not combine parameters from different parameter sets. For more information about how to use parameter sets, see Cmdlet parameter sets.

이 cmdlet은 Remove-SPSiteSubscriptionFeaturePackMember Identity 매개 변수로 지정된 기능 집합에서 제공된 FeatureDefinition 매개 변수를 제거합니다. AllFeatureDefinitions 플래그를 제공하면 모든 기능 정의가 지정한 기능 집합에서 제거됩니다.

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

예제

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

$FS = Get-SPSiteSubscriptionFeaturePack "30daa535-b0fe-4d10-84b0-fb04029d161a"
Remove-SPSiteSubscriptionFeaturePackMember -Identity $fs -FeatureDefinition (Get-SPFeature "PublishingSite")

이 예제에서는 ID가 30daa535-b0fe-4d10-84b0-fb04029d161a인 기능 집합에서 PublishingSite 기능을 제거합니다.

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

Get-SPSiteSubscriptionFeaturePack "30daa535-b0fe-4d10-84b0-fb04029d161a" | Remove-SPSiteSubscriptionFeaturePackMember -AllFeatureDefinitions

이 예제에서는 기능 집합 30daa535-b0fe-4d10-84b0-fb04029d161a에서 모든 기능을 제거합니다.

매개 변수

-AllFeatureDefinitions

기능 집합에서 모든 기능을 지웁니다.

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

-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

-FeatureDefinition

제거할 기능 정의를 지정합니다.

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

-Identity

기능을 제거할 기능 집합을 지정합니다.

형식은 12345678-90ab-cdef-1234-567890bcdefgh 형식의 유효한 GUID, 유효한 기능 집합 이름(예: FeatureSet1) 또는 유효한 SPFeatureSet 개체의 인스턴스여야 합니다.

Type:SPSiteSubscriptionFeaturePackPipeBind
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