Skip to content

Test-Connection cmdlet is missing from PowerShell Core 6.0.1 release #6300

@oschroeder8

Description

@oschroeder8

Test-Connection cmdlet is missing from PowerShell Core 6.0.1 release. It is available and working fine in PowerShell 5.1.

Supposedly this was addressed in issue 1146 and the issue was marked as closed. The cmdlet does not seem to exist though, as you can see below:

Steps to reproduce

Get-Command Test-Connection

Expected behavior

CommandType     Name                                               Version    Source                                                                                     
-----------     ----                                               -------    ------                                                                                     
Cmdlet          Test-Connection                                    3.1.0.0    Microsoft.PowerShell.Management

Actual behavior

Get-Command : The term 'Test-Connection' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Get-Command Test-Connection
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : ObjectNotFound: (Test-Connection:String) [Get-Command], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException,Microsoft.PowerShell.Commands.GetCommandCommand

Environment data

> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      6.0.1
PSEdition                      Core
GitCommitId                    v6.0.1
OS                             Microsoft Windows 10.0.14393
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

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