Get-MtAdminPortalUrl
SYNOPSIS
Section titled “SYNOPSIS”Get the URL for the specific Microsoft admin portal based on the environment.
SYNTAX
Section titled “SYNTAX”Get-MtAdminPortalUrl [[-Environment] <String>] [[-Portal] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]DESCRIPTION
Section titled “DESCRIPTION”This function returns the URL for the specific Microsoft admin portal based on the environment.
EXAMPLES
Section titled “EXAMPLES”EXAMPLE 1
Section titled “EXAMPLE 1”Get-MtAdminPortalUrl -Environment 'USGov' -Portal 'Azure'Returns the URL for the Azure portal in the Global environment.EXAMPLE 2
Section titled “EXAMPLE 2”Get-MtAdminPortalUrlReturns the URLs for all portals in the default Global environment.PARAMETERS
Section titled “PARAMETERS”-Environment
Section titled “-Environment”The environment to use. If not specified, will use Global as default.
Type: StringParameter Sets: (All)Aliases:
Required: FalsePosition: 1Default value: GlobalAccept pipeline input: FalseAccept wildcard characters: False-Portal
Section titled “-Portal”The portal to use. If not specified, returns all the portals.
Type: StringParameter Sets: (All)Aliases:
Required: FalsePosition: 2Default value: NoneAccept pipeline input: FalseAccept wildcard characters: False-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.