Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Test-Connection on PowerShell 6.1 RC-1, Does not give correct output? #7685

Copy link
Copy link
@ghost

Description

Steps to reproduce

> $TestConnection = Test-Connection 8.8.8.8 -Count 3 

Expected behavior

> $TestConnection = Test-Connection 8.8.8.8 -Count 3 
> $TestConnection 
Source        Destination     IPV4Address      IPV6Address                              Bytes    Time(ms)
------        -----------     -----------      -----------                              -----    --------
MacBook-Pro... 8.8.8.8         8.8.8.8                                                   32       29
MacBook-Pro... 8.8.8.8         8.8.8.8                                                   32       29
MacBook-Pro... 8.8.8.8         8.8.8.8                                                   32       29
MacBook-Pro... 8.8.8.8         8.8.8.8                                                   32       29
MacBook-Pro... 8.8.8.8         8.8.8.8                                                   32       28
MacBook-Pro... 8.8.8.8         8.8.8.8                                                   32       29
MacBook-Pro... 8.8.8.8         8.8.8.8                                                   32       29
MacBook-Pro... 8.8.8.8         8.8.8.8                                                   32       29
MacBook-Pro... 8.8.8.8         8.8.8.8                                                   32       30
MacBook-Pro... 8.8.8.8         8.8.8.8                                                   32       28

Actual behavior

> $TestConnection = Test-Connection 8.8.8.8 -Count 3 
Pinging 8.8.8.8 [8.8.8.8] with 32 bytes of data:
Reply from 8.8.8.8: bytes=0 time=31ms TTL=
Reply from 8.8.8.8: bytes=0 time=31ms TTL=
Reply from 8.8.8.8: bytes=0 time=31ms TTL= 
Ping complete.                
> $TestConnection
Source                  Destination Replies                                                                              ------                  ----------- -------                                                                              
MacBook-Pro.localdomain 8.8.8.8     {System.Net.NetworkInformation.PingReply, System.Net.NetworkInformation.PingReply...

Environment data

> $PSVersionTable
Name                           Value                                                                    ----                           -----                                                                    
PSVersion                      6.1.0-rc.1
PSEdition                      Core
GitCommitId                    6.1.0-rc.1
OS                             Darwin 18.0.0 Darwin Kernel Version 18.0.0: Wed Aug 22 20:59:21 PDT 2...
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifResolution-FixedThe issue is fixed.The issue is fixed.WG-Cmdlets-Utilitycmdlets in the Microsoft.PowerShell.Utility modulecmdlets in the Microsoft.PowerShell.Utility module

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.