Set-CMDistributionPointGroup

Changes the configuration settings of distribution point groups.

Syntax

Set-CMDistributionPointGroup
   [-Confirm]
   [-Description <String>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   -Id <String>
   [-NewName <String>]
   [-WhatIf]
   [<CommonParameters>]
Set-CMDistributionPointGroup [-Confirm] [-Description ] [-DisableWildcardHandling]
 [-ForceWildcardHandling] -InputObject  [-NewName ] [-WhatIf] []
Set-CMDistributionPointGroup [-Confirm] [-Description ] [-DisableWildcardHandling]
 [-ForceWildcardHandling] -Name  [-NewName ] [-WhatIf] []

Description

The Set-CMDistributionPointGroup cmdlet changes the configuration settings of one or more distribution point groups.

Examples

Example 1: Add a distribution point group to a security scope

PS C:\> Set-CMDistributionPointGroup -SecurityScopeAction AddMembership -SecurityScopeName "CScope02" -Name "DpgDept01"

This command adds the distribution point group as a member of the security scope named CScope02.

Example 2: Remove a distribution point group from a security scope

PS C:\> Set-CMDistributionPointGroup -SecurityScopeAction RemoveMembership -SecurityScopeName "CScope02" -Name "DpgDept01"

This command removes the distribution point group named DpgDept01 as a member of the security scope named CScope02.

Required Parameters

-Id

Specifies an array of IDs for distribution point groups.

Type:String
Aliases:GroupId
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InputObject

Specifies a CMDistributionPointGroup object. To obtain a CMDistributionPointGroup object, use the Get-CMDistributionPointGroup cmdlet.

Type:IResultObject
Required:True
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-Name

Specifies a name of a distribution point group.

Type:String
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-Description

Specifies a description for the distribution point group.

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DisableWildcardHandling

Indicates that wildcard handling is disabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling

Indicates that wildcard handling is enabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-NewName

Specifies a new name for the distribution point group.

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False