Skip to content

Missing CmdLet Test-Connection from Microsoft.PowerShell.Management #1146

Closed

Description

Steps to reproduce

gcm Test-Connection

Expected behavior

returns cmdlet

Actual behavior

The term 'Test-Connection' is not recognized as the name of a cmdlet,...

Environment data

v0.4.0

> $PSVersionTable
Name                           Value
----                           -----
PSVersion                      5.1.10032.0
SerializationVersion           1.1.0.1
PSEdition                      Core
BuildVersion                   3.0.0.0
CLRVersion
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
WSManStackVersion              3.0
GitCommitId                    v0.5.0-7-g2f08a974d9024123109c466f27d169f4a1b2bf2b
PSRemotingProtocolVersion      2.3

$ dotnet --info
https://ci.appveyor.com/project/PowerShell/powershell/build/0.4.0.2498/artifacts

$ git rev-parse HEAD; git status
https://ci.appveyor.com/project/PowerShell/powershell/build/0.4.0.2498/artifacts

Activity

  1. andyleejordan commented on Jun 17, 2016

    @andyleejordan
    Member

    Can you identity which file this should come from?

  2. andyleejordan commented on Jun 20, 2016

    @andyleejordan
    Member

    This comes from ./src/Microsoft.PowerShell.Commands.Management/commands/management/Computer.cs which is currently excluded from the build. Travis Plunk (@TravisEz13) Can you verify that it is supposed to belong in Core PowerShell?

  3. TravisEz13 commented on Jun 29, 2016

    @TravisEz13
    MemberAuthor

    Dongbo Wang (@daxian-dbw) It's in Nano, Dongbo called it out as an issue too

  4. daxian-dbw commented on Jul 7, 2016

    @daxian-dbw
    Member

    This is resolved via #1285
    Test-Connection is added to OSPS

    PS C:\> gcm Test-Connection                                                                                             
    CommandType     Name                                               Version    Source
    -----------     ----                                               -------    ------
    Cmdlet          Test-Connection                                    3.1.0.0    Microsoft.PowerShell.Management
    
    
    PS C:\> Test-Connection .                                                                                               
    Source        Destination     IPV4Address      IPV6Address                              Bytes    Time(ms)
    ------        -----------     -----------      -----------                              -----    --------
    DONGBO-DEV    localhost                                                                 32       0
    DONGBO-DEV    localhost                                                                 32       0
    DONGBO-DEV    localhost                                                                 32       0
    DONGBO-DEV    localhost                                                                 32       0
    
    
    PS C:\> $PSVersionTable                                                                                                 
    Name                           Value
    ----                           -----
    PSRemotingProtocolVersion      2.3
    BuildVersion                   3.0.0.0
    GitCommitId                    v0.5.0-297-g2f9be46eac39cb987edd045fb3884a1ed4ba2acf
    WSManStackVersion              3.0
    SerializationVersion           1.1.0.1
    PSVersion                      5.1.10032.0
    PSEdition                      Core
    PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
    CLRVersion
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions