Functions/Public/Get-InfluxDbField.ps1

1
2
3
4
5
6
7
8
9
10
11
function Get-InfluxDbField {
    [CmdletBinding()]
    param(
        [Parameter(Mandatory)]
        [ValidateNotNullOrEmpty()]
        [string]
        $Database
    )
    
    Invoke-InfluxDbApi -Query 'SHOW FIELD KEYS' -Database $Database
}