The Win32_PingStatus class contains the values returned by the standard ping command. More information on ping can be found in RFC 791.
Namespace value is root/CIMV2.
WMI Provider value is WMIPingProvider.
The Address property holds the value of the address requested. This can be either hostname ('wxyz1234') or IP address ('22.214.171.124').
The BufferSize property indicates the buffer size sent with the ping command. The default value is 32.
The NoFragmentation property sets a 'Don't Fragment' on packets sent. The default is False, not fragmented.
The PrimaryAddressResolutionStatus property holds status information resulting from the gethostbyname call. This property reports the status of the resolution of the address value (ie value of the address property) given in the query. It is not related to any other resolution performed.
The property can take the following values:
0 - Success.
Other - For integer values other than those listed above, refer to WinSock error code documentation.
The ProtocolAddress property contains the address that the destination used to reply.
The ProtocolAddressResolved property contains the resolved address corresponding to the ProtocolAddress property
The RecordRoute property indicates how many hops should be recorded while the packet is enroute. The default is zero.
The ReplyInconsistency property reports inconsistent reply data.
The ReplySize property indicates the size of the buffer returned.
The ResolveAddressesNames indicates whether or not the command will resolve address names of output address values. The default is False - no resolution.
The ResponseTime property indicates the time elapsed to handle the request.
The ResponseTimeToLive property indicates the time to live from moment the request is received.
The RouteRecord property holds a record of intermediate hops.
The RouteRecordResolved property holds the resolved address corresponding to the RouteRecord entry.
The SourceRoute property contais a comma separated list of valid Source Routes.
The SourceRouteType property indicates the type of source route option to be used on host list specified in the SourceRoute property. If a value outside of the ValueMap is specified 0 is assumed. The default is zero.
The StatusCode property returns the ping status codes.
The Timeout property indicates the Timeout value in milliseconds. If a response is not received in this time no response will be assumed. The default is 4000 milliseconds.
The TimeStampRecord property holds a record timestamps for intermediate hops.
The TimeStampRecordAddress property holds the intermediate hop corresponding to the TimeStampRecord entry.
The TimeStampRecordAddressResolved property holds the resolved address corresponding to the TimeStampRecordAddress entry.
The TimestampRoute property indicates how many hops should be recorded with time stamp information while the packet is enroute. A Timestamp is the number of milliseconds that have passed since midnight UT. If the time is not available in milliseconds or cannot be provided with respect to midnight UT then any time may be inserted as a timestamp provided the high order bit of the timestamp field is set to one to indicate the use of a non-standard value. The default is zero.
The TimeToLive property indicates the lifespan of the ping packet in seconds. This is an upper limit and not absolute as all routers MUST decrement this value by one and hops between routers rarely take this amount of time. When this value becomes zero the packet will be dropped by the router. The default value is 80 seconds.
the TypeOfService property provides an indication of the abstract parameters of the quality of service desired. These parameters are to be used to guide the selection of the actual service parameters when transmitting a datagram through a particular network. The default value is 0.
bits 0-2: Precedence.
bit 3: 0 = Normal Delay, 1 = Low Delay.
bits 4: 0 = Normal Throughput, 1 = High Throughput.
bits 5: 0 = Normal Relibility, 1 = High Relibility.
bit 6-7: Reserved.
111 - Network Control
110 - Internetwork Control
101 - CRITIC/ECP
100 - Flash Override
011 - Flash
010 - Immediate
001 - Priority
000 - Routine
For a detailed description of the various serive types, refer to RFC 791, page 12.
Method not found.
SELECT * FROM Win32_PingStatus
About this site information
This contents is created by WMI having class information.
WMI Environment is Windows Server 2008 R2 Enterprise Edition.
is Microsoft documents for "Managing Windows with WMI"
That is VB(Visual Basic) scripting sample.
is Microsoft documents for "Advanced Programming Topics in WMI .NET"
That is VB.net(Visual Basic .net) scripting sample.