Find-LMDashboardWidget
Syntax
Find-LMDashboardWidget [-DatasourceNames] <String[]> [[-GroupPathSearchString] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]Description
Find list of dashboard widgets containing mention of specified datasources
Examples
Example 1
Find-LMDashboardWidget -DatasourceNames @("SNMP_NETWORK_INTERFACES","VMWARE_VCETNER_VM_PERFORMANCE")Parameters
-DatasourceNames
Array of datasource names to search for in dashboard widgets. Can also use the alias DatasourceName.
Type: String[]Parameter Sets: (All)Aliases: DatasourceName
Required: TruePosition: 1Default value: NoneAccept pipeline input: True (ByValue)Accept wildcard characters: False-GroupPathSearchString
Wildcard search string to filter dashboards by group path. Defaults to ”*” (all dashboards).
Type: StringParameter Sets: (All)Aliases:
Required: FalsePosition: 2Default value: *Accept pipeline input: FalseAccept wildcard characters: False-ProgressAction
Fill ProgressAction Description
Type: ActionPreferenceParameter Sets: (All)Aliases: proga
Required: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: FalseCommonParameters
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
DatasourceNames in an array. You can also pipe datasource names to this widget.
Outputs
Notes
Created groups will be placed in a main group called Azure Resources by Subscription in the parent group specified by the -ParentGroupId parameter