Get-AzPortalDashboard
Gets the Dashboard.
Syntax
Get-AzPortalDashboard
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzPortalDashboard
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzPortalDashboard
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzPortalDashboard
-InputObject <IPortalIdentity>
[-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
-DefaultProfile
The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
Type: | IPortalIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
The name of the dashboard.
Type: | String |
Aliases: | DashboardName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
The name of the resource group. The name is case insensitive.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
The ID of the target subscription. The value must be an UUID.
Type: | String[] |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Outputs
Microsoft.Azure.PowerShell.Cmdlets.Portal.Models.Api20221201Preview.IDashboard
Azure PowerShell