< Back
New-CBGroup
Post
NAME New-CBGroup
SYNOPSIS
Creates a new group in CloudBolt.
SYNTAX
New-CBGroup [-Session] <Object> [-Name] <String> [-Type] <String> [<CommonParameters>]
DESCRIPTION
The `New-CBGroup` function creates a new group in CloudBolt. Pass a session object to the CloudBolt instance to
use to the `Session` parameter (use `New-CBSession` to create a session object). Pass the name of the group to the
`Name` parameter. Pass the group's type to the `Type` parameter. An group object will be returned.
PARAMETERS
-Session <Object>
The session/connecton to the CloudBolt instance to use. Use `New-CBSession` to create a session object.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Name <String>
The group's type.
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Type <String>
The group's type.
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>New-CBGroup -Session $session -Name 'Fubar Snafu' -Type 'Organization'
Demonstrates how to use `New-CBGroup` to create a new group in CloudBolt.
RELATED LINKS
SYNOPSIS
Creates a new group in CloudBolt.
SYNTAX
New-CBGroup [-Session] <Object> [-Name] <String> [-Type] <String> [<CommonParameters>]
DESCRIPTION
The `New-CBGroup` function creates a new group in CloudBolt. Pass a session object to the CloudBolt instance to
use to the `Session` parameter (use `New-CBSession` to create a session object). Pass the name of the group to the
`Name` parameter. Pass the group's type to the `Type` parameter. An group object will be returned.
PARAMETERS
-Session <Object>
The session/connecton to the CloudBolt instance to use. Use `New-CBSession` to create a session object.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Name <String>
The group's type.
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Type <String>
The group's type.
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>New-CBGroup -Session $session -Name 'Fubar Snafu' -Type 'Organization'
Demonstrates how to use `New-CBGroup` to create a new group in CloudBolt.
RELATED LINKS