TimeToLive Parameter (Send-Ping Cmdlet)

The time to live (TTL) value for the ICMP packets sent by the cmdlet.


Send-Ping -TimeToLive int


The Time-to-Live (TTL) field of the ICMP packet is a counter limiting the lifetime of a packet.

Each router (or other module) that handles a packet decrements the TTL field by at least one or more if it holds the packet for more than one second, thus the TTL is effectively a hop count limit on how far a datagram can propagate through the Internet. When the TTL is reduced to zero (or less), the packet is discarded.

If TimeToLive is set to 0, then the default TTL value of the underlying TCP/IP subsystem will be used.

Default Value


Parameter Alias


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