Ping HPOVAddress - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Ping-HPOVAddress

Validate IP Connectivity to resources.

SYNTAX

Ping-HPOVAddress [-Address] <String> [-Packets] <Int32> [-ApplianceConnection] <Object>[ [-Async] <SwitchParameter>] [<CommonParameters>]

Detailed Description

This CMDLET provides the administrator the capability to PING (ICMP "echo request") to a resource the appliance is or is not managing, to help validate L2 and/or L3 connectivity from the appliance.

Parameters

-Address <String>

The IP or FQDN Address of the target device. If using FQDN, please make sure valid DNS Servers are configured on the appliance for proper DNS resolution.

Aliases None
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?    False

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? true
Position? 2
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? false
Accept wildcard characters?    False

-Async <SwitchParameter>

Use this parameter to immediately return the async task. By default, the Cmdlet will wait for the task to complete.

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

-Packets <Int32>

Number of Packets to generate.

Default: 5

Aliases None
Required? true
Position? 1
Default value 5
Accept pipeline input? false
Accept wildcard characters?    False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)

Input Types

System.Net.IPAddress

IP Address of target node to ping

Return Values

HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]

Task resource of the PING request

Examples

 -------------------------- EXAMPLE 1 --------------------------

$results = Ping-HPOVAddress host.domain.com -Appliance appliance.contoso.com $results.progressUpdates.statusUpdate PING host.domain.com (192.168.1.100) 56(84) bytes of data. 64 bytes from host.domain.com (192.168.1.100): icmp_seq=1 ttl=64 time=0.462 ms 64 bytes from host.domain.com (192.168.1.100): icmp_seq=2 ttl=64 time=0.629 ms 64 bytes from host.domain.com (192.168.1.100): icmp_seq=3 ttl=64 time=0.478 ms 64 bytes from host.domain.com (192.168.1.100): icmp_seq=4 ttl=64 time=0.424 ms

64 bytes from host.domain.com (192.168.1.100): icmp_seq=5 ttl=64 time=0.578 ms

Related Links


Top

HPE OneView 4.00 Library

Ping-HPOVAddress

Validate IP Connectivity to resources.

SYNTAX

Ping-HPOVAddress [-Address] <String> [-Packets] <Int32> [-ApplianceConnection] <Object>[ [-Async] <SwitchParameter>] [<CommonParameters>]

Detailed Description

This CMDLET provides the administrator the capability to PING (ICMP 'echo request') to a resource the appliance is or is not managing, to help validate L2 and/or L3 connectivity from the appliance.

Parameters

-Address <String>

The IP or FQDN Address of the target device. If using FQDN, please make sure valid DNS Servers are configured on the appliance for proper DNS resolution.

Aliases None
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?    False

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? true
Position? 2
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? false
Accept wildcard characters?    False

-Async <SwitchParameter>

Use this parameter to immediately return the async task. By default, the Cmdlet will wait for the task to complete.

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

-Packets <Int32>

Number of Packets to generate.

Default: 5

Aliases None
Required? true
Position? 1
Default value 5
Accept pipeline input? false
Accept wildcard characters?    False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)

Input Types

System.Net.IPAddress

IP Address of target node to ping

Return Values

HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]

Task resource of the PING request

Examples

 -------------------------- EXAMPLE 1 --------------------------

$results = Ping-HPOVAddress host.domain.com -Appliance appliance.contoso.com $results.progressUpdates.statusUpdate PING host.domain.com (192.168.1.100) 56(84) bytes of data. 64 bytes from host.domain.com (192.168.1.100): icmp_seq=1 ttl=64 time=0.462 ms 64 bytes from host.domain.com (192.168.1.100): icmp_seq=2 ttl=64 time=0.629 ms 64 bytes from host.domain.com (192.168.1.100): icmp_seq=3 ttl=64 time=0.478 ms 64 bytes from host.domain.com (192.168.1.100): icmp_seq=4 ttl=64 time=0.424 ms

64 bytes from host.domain.com (192.168.1.100): icmp_seq=5 ttl=64 time=0.578 ms

Related Links


Top
⚠️ **GitHub.com Fallback** ⚠️