|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Ping-NaHostInfo
NAME
Ping-NaHostInfo
SYNOPSIS
Ping a host.
SYNTAX
Ping-NaHostInfo [-Host] <String> [[-Count] <Int32>] [-Controller <NaControll
er>] [<CommonParameters>]
DESCRIPTION
Ping a host. The API pings the host count times, and returns the number of
successful pings and times. The interval between ping attempts is 1 second.
IPv6 is not supported at this time.
PARAMETERS
-Host <String>
The name or the IP address of the host to ping. The format is an IPv4 h
ost name or IP address.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Count <Int32>
The number of pings. Default is 3. Range: [1..16]
Required? false
Position? 2
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Controller <NaController>
The Data ONTAP controller object, embodied by an NaController object. T
his parameter is returned by the Connect-NaController cmdlet. If not sp
ecified, the value in the global variable CurrentNaController is used.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".
INPUTS
OUTPUTS
DataONTAP.Types.Net.PingHostInfo
NOTES
Category: net
API: net-ping-info
-------------- Example 1 --------------
C:\PS>Ping-NaHostInfo 10.61.167.61 -Count 5
Get ping statistics for host 10.61.167.61.
PacketsReceived : 5
PacketsTransmitted : 5
RoundTripMaximumTime : 137
RoundTripMaximumTimeTS : 00:00:00.0001370
RoundTripMeanTime : 125
RoundTripMeanTimeTS : 00:00:00.0001250
RoundTripMinimumTime : 113
RoundTripMinimumTimeTS : 00:00:00.0001130
RELATED LINKS
Resolve-NaHost
Ping-NaHost
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|