< Back

Channel

Sun Jan 19, 2020 5:46 pm

NAME Channel



SYNOPSIS

Generates a <Channel></Channel> XML tag for specifying the name of a channel in a custom PRTG Network Monitor

EXE/XML Sensor.





SYNTAX

Channel [[-Value] <String>] [<CommonParameters>]





DESCRIPTION

The Channel tag specifies the name of the channel that will be displayed within PRTG. This value must be unique

within the sensor it applies to. If a Result is being returned, this value is mandatory.





PARAMETERS

-Value <String>

The name to use for the channel.



Required? false

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES









-------------------------- EXAMPLE 1 --------------------------



Prtg {

Result {

Channel "My channel"

Value 1

}

}



Generate a sensor with one channel.



RELATED LINKS

Online Version: https://github.com/lordmilko/PrtgXml/bl ... Channel.md

Prtg

Result

Value