-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Labels
Resolution-DuplicateThe issue is a duplicate.The issue is a duplicate.WG-Cmdlets-Managementcmdlets in the Microsoft.PowerShell.Management modulecmdlets in the Microsoft.PowerShell.Management module
Description
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-ConnectionExpected 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.0Metadata
Metadata
Assignees
Labels
Resolution-DuplicateThe issue is a duplicate.The issue is a duplicate.WG-Cmdlets-Managementcmdlets in the Microsoft.PowerShell.Management modulecmdlets in the Microsoft.PowerShell.Management module