< Back
New-LinaAgentGroup
Post
NAME New-LinaAgentGroup
SYNOPSIS
Creates a new agent group
SYNTAX
New-LinaAgentGroup [-Name] <String> [[-Tenant] <String>] [<CommonParameters>]
DESCRIPTION
Creates a new agent group with the provided name.
PARAMETERS
-Name <String>
Name of the agent group to create
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Tenant <String>
Optional : Name of the tenant where the agent group should be created.
If not provided, agent group will be created in the current tenant.
In global view (no tenant selected), agent group will be created in the default tenant.
Required? false
Position? 2
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
None
OUTPUTS
LinaAgentGroup Object
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>New-LinaAgentGroup -Name "Test-Group"
Creates a new agent group in current tenant.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>New-LinaAgent -Name "Test-Group" -Tenant "MyTenant"
Creates a new agent group in tenant MyTenant
RELATED LINKS
SYNOPSIS
Creates a new agent group
SYNTAX
New-LinaAgentGroup [-Name] <String> [[-Tenant] <String>] [<CommonParameters>]
DESCRIPTION
Creates a new agent group with the provided name.
PARAMETERS
-Name <String>
Name of the agent group to create
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Tenant <String>
Optional : Name of the tenant where the agent group should be created.
If not provided, agent group will be created in the current tenant.
In global view (no tenant selected), agent group will be created in the default tenant.
Required? false
Position? 2
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
None
OUTPUTS
LinaAgentGroup Object
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>New-LinaAgentGroup -Name "Test-Group"
Creates a new agent group in current tenant.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>New-LinaAgent -Name "Test-Group" -Tenant "MyTenant"
Creates a new agent group in tenant MyTenant
RELATED LINKS