Skip to content

Set GrafanaConfig

Stephen Valdinger edited this page Apr 5, 2019 · 2 revisions

external help file: PSGrafana-help.xml Module Name: PSGrafana online version: schema: 2.0.0

Set-GrafanaConfig

SYNOPSIS

Modifies the configuration file for the module

SYNTAX

Set-GrafanaConfig [[-ConfigurationFile] <String>] [[-APIKey] <String>] [[-GrafanaUri] <String>]
 [<CommonParameters>]

DESCRIPTION

EXAMPLES

EXAMPLE 1

Set-GrafanaConfig -APIKey '10395j23oi2r' -GrafanaUri 'https://test-grafana.mydomain.org'

PARAMETERS

-ConfigurationFile

The path to the JSON configuration file. Defaults to Config\Grafana.json

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: "$PSScriptRoot\Config\Grafana.json"
Accept pipeline input: False
Accept wildcard characters: False

-APIKey

Your new API Key

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-GrafanaUri

The new Grafana uri

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

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.

INPUTS

OUTPUTS

NOTES

RELATED LINKS

Get-GrafanaConfig

Clone this wiki locally