Uptime Parameter (Send-Trap Cmdlet)

Time passed since the agent was initialized (in hundredths of a second).

Syntax

Send-Trap -Uptime int

Remarks

Uptime is used when sending SNMP traps, and it normally provides the time since the cmdlet was started in 1/100ths of a second.

If another value is desired, you may set this Uptime to a custom value. From that point on, Uptime will contain the value set plus time elapsed. Due to the nature of the cmdlet, the time elapsed should be very small.

Default Value

0

 
 
Copyright (c) 2021 /n software inc. - All rights reserved.
NetCmdlets 2020 - Version 20.0 [Build 7877]