Modifier

Partager via


Test-LogicalNetworkSupportsJumboPacket

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

Syntax

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).

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-DestinationHostCreds

Specifies the credentials to use on the destination host.

Type:PSCredential
Position:3
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SourceHost

Specifies the source IP address or FQDN.

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-SourceHostCreds

Specifies the credentials to use on the source host.

Type:PSCredential
Position:2
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

Object