Edit

Share via


Test-LogicalNetworkSupportsJumboPacket

Tests whether a jumbo packet can be sent between two nodes.

Syntax

Default (Default)

Test-LogicalNetworkSupportsJumboPacket
    [-SourceHost] <String>
    [-DestinationHost] <String>
    [[-SourceHostCreds] <PSCredential>]
    [[-DestinationHostCreds] <PSCredential>]
    [<CommonParameters>]

Description

The Test-LogicalNetworkSupportsJumboPacket cmdlet tests whether a jumbo packet can be sent between two nodes.

Examples

Example 1: Test a jumbo packet

PS C:\> $cred = Get-Credential
Test-LogicalNetworkSupportsJumboPacket -SourceHost "localhost" -SourceHostCreds $cred -DestinationHost "1.1.1.1" -DestinationHostCreds $cred

The first command gets the user's credentials, and then stores them in the $cred variable.

The second command tests a jumbo packet between the specified source and destination hosts.

Parameters

-DestinationHost

Specifies the destination IP address or fully qualified domain name (FQDN).

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DestinationHostCreds

Specifies the credentials to use on the destination host.

Parameter properties

Type:PSCredential
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:3
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SourceHost

Specifies the source IP address or FQDN.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SourceHostCreds

Specifies the credentials to use on the source host.

Parameter properties

Type:PSCredential
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:2
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

Object