Set-CMDistributionPointGroup
Updated: March 1, 2013
Applies To: System Center 2012 Configuration Manager SP1
Set-CMDistributionPointGroup
Syntax
Parameter Set: SetById Set-CMDistributionPointGroup -Id <String[]> [-Description <String> ] [-NewName <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>] Parameter Set: SetByName Set-CMDistributionPointGroup -Name <String> [-Description <String> ] [-NewName <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>] Parameter Set: SetByValueMandatory Set-CMDistributionPointGroup -InputObject <IResultObject> [-Description <String> ] [-NewName <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>] Parameter Set: SetSecurityScopeById Set-CMDistributionPointGroup -Id <String[]> -SecurityScopeAction <SecurityScopeActionType> -SecurityScopeName <String> [-Confirm] [-WhatIf] [ <CommonParameters>] Parameter Set: SetSecurityScopeByName Set-CMDistributionPointGroup -Name <String> -SecurityScopeAction <SecurityScopeActionType> -SecurityScopeName <String> [-Confirm] [-WhatIf] [ <CommonParameters>] Parameter Set: SetSecurityScopeByValue Set-CMDistributionPointGroup -InputObject <IResultObject> -SecurityScopeAction <SecurityScopeActionType> -SecurityScopeName <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Detailed Description
The Set-CMDistributionPointGroup cmdlet changes the configuration settings of one or more distribution point groups.
Parameters
-Description<String>
Specifies a description for the distribution point group.
Aliases | none |
Required? | false |
Position? | named |
Default Value | none |
Accept Pipeline Input? | True (ByPropertyName) |
Accept Wildcard Characters? | false |
-Id<String[]>
Specifies an array of IDs for distribution point groups.
Aliases | GroupId |
Required? | true |
Position? | named |
Default Value | none |
Accept Pipeline Input? | True (ByPropertyName) |
Accept Wildcard Characters? | false |
-InputObject<IResultObject>
Specifies a CMDistributionPointGroup object. To obtain a CMDistributionPointGroup object, use the Get-CMDistributionPointGroup cmdlet.
Aliases | none |
Required? | true |
Position? | named |
Default Value | none |
Accept Pipeline Input? | True (ByPropertyName) |
Accept Wildcard Characters? | false |
-Name<String>
Specifies an array of names of distribution point groups.
Aliases | none |
Required? | true |
Position? | named |
Default Value | none |
Accept Pipeline Input? | True (ByPropertyName) |
Accept Wildcard Characters? | false |
-NewName<String>
Specifies a new name for the distribution point group.
Aliases | none |
Required? | false |
Position? | named |
Default Value | none |
Accept Pipeline Input? | True (ByPropertyName) |
Accept Wildcard Characters? | false |
-SecurityScopeAction<SecurityScopeActionType>
Applies an action to the security scope. Valid values are AddMembership and RemoveMembership.
Aliases | none |
Required? | true |
Position? | named |
Default Value | none |
Accept Pipeline Input? | True (ByPropertyName) |
Accept Wildcard Characters? | false |
-SecurityScopeName<String>
Specifies the name of a security scope. The security scope name can be Default or a custom created security scope.
Aliases | none |
Required? | true |
Position? | named |
Default Value | none |
Accept Pipeline Input? | True (ByPropertyName) |
Accept Wildcard Characters? | false |
-Confirm
Prompts you for confirmation before executing the command.
Required? | false |
Position? | named |
Default Value | false |
Accept Pipeline Input? | false |
Accept Wildcard Characters? | false |
-WhatIf
Describes what would happen if you executed the command without actually executing the command.
Required? | false |
Position? | named |
Default Value | false |
Accept Pipeline Input? | false |
Accept Wildcard Characters? | false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
Example 1: Add a distribution point group to a security scope
This command adds the distribution point group as a member of the security scope named CScope02.
PS C:\> Set-CMDistributionPointGroup -SecurityScopeAction AddMembership -SecurityScopeName "CScope02" -Name "DpgDept01"
Example 2: Remove a distribution point group from a security scope
This command removes the distribution point group named DpgDept01 as a member of the security scope named CScope02.
PS C:\> Set-CMDistributionPointGroup -SecurityScopeAction RemoveMembership -SecurityScopeName "CScope02" -Name "DpgDept01"
