< Back

SpeedTime

Sun Jan 19, 2020 5:48 pm

NAME SpeedTime



SYNOPSIS

Generates a <SpeedTime></SpeedTime> XML tag for specifying the rate of a channel's value in a custom PRTG Network

Monitor EXE/XML Sensor.





SYNTAX

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





DESCRIPTION

The SpeedTime tag specifies the initial time range to use for the "Last Value (speed)" column of a channel when

the channel is configured to use Difference Mode. Once the channel has been created, the time unit cannot be

changed.





PARAMETERS

-Value <String>

The rate of time to use.



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 ((Get-Date) - [DateTime]"1/1/17").TotalMinutes

SpeedTime Day

Mode Difference

}

}



Create a channel with a speed of 83,000/d.



RELATED LINKS

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

Prtg

Result

Value

SpeedSize

Mode