New-CMBoundaryGroup
New-CMBoundaryGroup
Creates a new boundary group.
Syntax
Parameter Set: New
New-CMBoundaryGroup -Name <String> [-DefaultSiteCode <String> ] [-Description <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Detailed Description
The New-CMBoundaryGroup cmdlet creates a new boundary group. A boundary group is a collection of boundaries.
You can use boundary groups to manage network locations. You must assign boundaries to boundary groups before you can use the boundary group. Boundary groups enable client computers to find a primary site for client assignment (automatic site assignment) and a list of available site systems that have content. For more information about boundaries, see Planning for Boundaries and Boundary Groups in Configuration Manager in the TechNet library at https://go.microsoft.com/fwlink/?LinkId=266225 and the New-CMBoundary cmdlet.
Parameters
-DefaultSiteCode<String>
Specifies the default site code for the new boundary group.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-Description<String>
Specifies a description for the new boundary.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-Name<String>
Specifies a name for the new boundary.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-Confirm
Prompts you for confirmation before running the cmdlet.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
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 (https://go.microsoft.com/fwlink/p/?LinkID=113216).
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: Create a new boundary group
This command creates a new boundary group. After the new boundary group is created, the command displays an unpopulated list of boundary properties. To refresh and see a populated list, use the Get-CMBoundaryGroup cmdlet. The output shown for this example is the latter.
PS C:\> New-BoundaryGroup –name "BGroup05"