Add-CCMGroup
Add-CCMGroup
Add-CCMGroup
Adds a group to Central Management
Syntax
Add-CCMGroup `
-Name <String> `
[-Description <String>] `
[-Group <String[]>] `
[-Computer <String[]>] [<CommonParameters>]
Description
Deployments in Central Management revolve around Groups. Before you can execute a deployment you must define a target group of computers the Deployment will execute on. Use this function to create new groups in your Central Management system
Aliases
None
Examples
EXAMPLE 1
Add-CCMGroup -Name PowerShell -Description "I created this via the ChocoCCM module" -Computer pc1,pc2
EXAMPLE 2
Add-CCMGroup -Name PowerShell -Description "I created this via the ChocoCCM module" -Group Webservers
Inputs
None
Outputs
None
Parameters
-Name <String>
The name you wish to give the group
Property | Value |
---|---|
Aliases | |
Required? | true |
Position? | 1 |
Default Value | |
Accept Pipeline Input? | false |
-Description [<String>]
A short description of the group
Property | Value |
---|---|
Aliases | |
Required? | false |
Position? | 2 |
Default Value | |
Accept Pipeline Input? | false |
-Group [<String[]>]
The group(s) to include as members
Property | Value |
---|---|
Aliases | |
Required? | false |
Position? | 3 |
Default Value | |
Accept Pipeline Input? | false |
-Computer [<String[]>]
The computer(s) to include as members
Property | Value |
---|---|
Aliases | |
Required? | false |
Position? | 4 |
Default Value | |
Accept Pipeline Input? | 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 .
NOTE
This documentation has been automatically generated from
Import-Module "ChocoCCM" -Force; Get-Help Add-CCMGroup -Full
.