Data ONTAP® PowerShell Toolkit

Cmdlet: Ping-NaHostInfo


NAME
Ping-NaHostInfo

SYNOPSIS
Ping a host.

SYNTAX
Ping-NaHostInfo [-Host] <String> [[-Count] <Int32>] [-Controller <NaControll
er>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<Commo
nParameters>]


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 DataONTAP controller object, embodied by an NaController object. Th
is parameter is returned by the Connect-NaController cmdlet. If not spe
cified, the value in the global variable CurrentNaController is used.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WarningAction <ActionPreference>


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WarningVariable <String>


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
System.Collections.Hashtable


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.


Name Value
---- -----
PacketsReceived 5
PacketsTransmitted 5
RoundTripMinimumTime 103
RoundTripMeanTime 128
RoundTripMaximumTime 144



RELATED LINKS
Resolve-NaHost
Ping-NaHost







 Data ONTAP® PowerShell Toolkit