< Back

Get-BMApplicationGroup

Sun Jan 12, 2020 6:59 pm

NAME Get-BMApplicationGroup



SYNOPSIS

Gets BuildMaster application groups.





SYNTAX

Get-BMApplicationGroup [-Session] <Object> [[-Name] <String>] [<CommonParameters>]





DESCRIPTION

The `Get-BMApplicationGroup` function gets all application groups from an instance of BuildMaster. To get a

specific application group, pass the name to the `Name` parameter. Wildcards '*' are supported. If an application

group with the name doesn't exist, you'll get nothing back.



Uses the BuildMaster native API, which can change without notice between releases. By default, this function

returns *all* application groups.





PARAMETERS

-Session <Object>

The session to use when connecting to BuildMaster. Use `New-BMSession` to create session objects.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Name <String>

The name of the application group to get. By default, all groups are returned.



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



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-BMApplicationGroup -Session $session



Demonstrates how to get all BuildMaster application groups.









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-BMApplicationGroup -Session $session -Name 'My Application Group'



Demonstrates how to get a specific application group.











RELATED LINKS