Skip to content

Remove GrafanaFolder

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

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

Remove-GrafanaFolder

SYNOPSIS

Removes the specified folder from your Grafana instance

SYNTAX

Remove-GrafanaFolder [-Folder] <String> [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Removes the specified folder from your Grafana instance using the API. This is a highly destructive operation. Any Panels that are stored within the folder will be destroyed.

EXAMPLES

EXAMPLE 1

Remove-GrafanaFolder -Folder Duckies

PARAMETERS

-Folder

The folder you wish to delete

Type: String
Parameter Sets: (All)
Aliases:

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

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

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

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
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

New-GrafanaFolder,Set-GrafanaFolder,Get-GrafanaFolder

Clone this wiki locally