title: PowerShell cmdlet Test-NetConnection not available
body: <p>I noticed that the cmdlet <code>Test-NetConnection</code> was not installed on Server 2012. Since Server 2012 comes with PowerShell version 3 so I thought it might help to update to the latest version 5.1.</p>
  
  <p>I did the update but the cmdlet <code>Test-NetConnection</code> is still not available.</p>
  
  <p>Only <code>Test-Connection</code> is present, but I need <code>Test-NetConnection</code> to test ports.</p>
  
  <p>How can I get <code>Test-NetConnection</code> now?</p>
  
  <pre>
  PS C:\Windows\system32> $PSVersionTable
  
  Name                           Value
  ----                           -----
  PSVersion                      5.1.14409.1005
  PSEdition                      Desktop
  PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
  BuildVersion                   10.0.14409.1005
  CLRVersion                     4.0.30319.34209
  WSManStackVersion              3.0
  PSRemotingProtocolVersion      2.3
  SerializationVersion           1.1.0.1
  
  
  PS C:\Windows\system32> Get-Command Test-NetConnection
  Get-Command : The term 'Test-NetConnection' 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-NetConnection
  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (Test-NetConnection:String) [Get-Command], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException,Microsoft.PowerShell.Commands.GetCommandCommand
  </pre>