Get-MtAzureManagementGroup
SYNOPSIS
Section titled “SYNOPSIS”Returns all Azure Management Groups in the tenant
SYNTAX
Section titled “SYNTAX”Get-MtAzureManagementGroup [-ProgressAction <ActionPreference>] [<CommonParameters>]DESCRIPTION
Section titled “DESCRIPTION”This function retrieves all Azure Management Groups by querying the Azure Management API. Returns an array of management groups that are accessible to the current user.
EXAMPLES
Section titled “EXAMPLES”EXAMPLE 1
Section titled “EXAMPLE 1”Get-MtAzureManagementGroupReturns all management groups in the tenant.
PARAMETERS
Section titled “PARAMETERS”-ProgressAction
Section titled “-ProgressAction”Determines how PowerShell responds to progress updates generated by a script, cmdlet, or provider, such as the progress bars generated by Write-Progress.
Type: ActionPreferenceParameter Sets: (All)Aliases: proga
Required: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: FalseCommonParameters
Section titled “CommonParameters”This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
Section titled “INPUTS”OUTPUTS
Section titled “OUTPUTS”System.Management.Automation.PSObject[]
Section titled “System.Management.Automation.PSObject[]”RELATED LINKS
Section titled “RELATED LINKS”https://maester.dev/docs/commands/Get-MtAzureManagementGroup