Get-AzPortalDashboard
Gets the Dashboard.
Note
This is the previous version of our documentation. Please consult the most recent version for up-to-date information.
Syntax
Get-AzPortalDashboard
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzPortalDashboard
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzPortalDashboard
-InputObject <IPortalIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzPortalDashboard
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Gets the Dashboard.
Examples
Example 1: List all dashboards in a subscription
Get-AzPortalDashboard
Location Name Type
-------- ---- ----
eastasia my-custom-dashboard1 Microsoft.Portal/dashboards
westus my-second-custom-dashboard1 Microsoft.Portal/dashboards
List all dashboards in a subscription
Example 2: Get details for a single Portal Dashboard
Get-AzPortalDashboard -ResourceGroupName my-rg -Name mydashboard
Location Name Type
-------- ---- ----
eastus mydashboard Microsoft.Portal/dashboards
Get details for a single dashboard
Parameters
The credentials, account, tenant, and subscription used for communication with Azure.
| Type: | PSObject |
| Aliases: | AzureRMContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
| Type: | IPortalIdentity |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
The name of the dashboard.
| Type: | String |
| Aliases: | DashboardName |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
The name of the resource group.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
| Type: | String[] |
| Position: | Named |
| Default value: | (Get-AzContext).Subscription.Id |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Inputs
Outputs
Notes
ALIASES
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT <IPortalIdentity>: Identity Parameter
[DashboardName <String>]: The name of the dashboard.[Id <String>]: Resource identity path[ResourceGroupName <String>]: The name of the resource group.[SubscriptionId <String>]: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)