Export-LMDashboard
Syntax
Section titled “Syntax”Id (Default)
Section titled “Id (Default)”Export-LMDashboard [-Id <Int32>] [-PassThru] [-FilePath <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]Export-LMDashboard [-Name <String>] [-PassThru] [-FilePath <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]Description
Section titled “Description”The Export-LMDashboard function exports dashboard information from LogicMonitor to a JSON file.
Examples
Section titled “Examples”EXAMPLE 1
Section titled “EXAMPLE 1”#Export a dashboard to a JSON fileExport-LMDashboard -Id 123 -FilePath "C:\temp"Parameters
Section titled “Parameters”The ID of the dashboard to retrieve. Part of a mutually exclusive parameter set.
Type: Int32Parameter Sets: IdAliases:
Required: FalsePosition: NamedDefault value: 0Accept pipeline input: FalseAccept wildcard characters: FalseThe name of the dashboard to retrieve. Part of a mutually exclusive parameter set.
Type: StringParameter Sets: NameAliases:
Required: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: False-PassThru
Section titled “-PassThru”Switch to return the dashboard export as a PSCustomObject.
Type: SwitchParameterParameter Sets: (All)Aliases:
Required: FalsePosition: NamedDefault value: FalseAccept pipeline input: FalseAccept wildcard characters: False-FilePath
Section titled “-FilePath”The path to the output file.
Type: StringParameter Sets: (All)Aliases:
Required: FalsePosition: NamedDefault value: (Get-Location).PathAccept pipeline input: FalseAccept wildcard characters: False-ProgressAction
Section titled “-ProgressAction”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.