Get New CMDLETS

rated by 0 users
This post has 1 Reply | 2 Followers

Top 500 Contributor
Posts 3
klemery Posted: 11-05-2009 1:19 PM

I have searched and found there is a CMDLET called Test-Connection.  I am running POwershell CTP3 for XP and it is not included as a CMDLET for this version.  Is there a way to add this or do I have to get a newer version of Powershell?

I am trying to use this in my scripts as a test to see if a servers is accessible or not.

Top 25 Contributor
Posts 55
Top Contributor

Hello,

I don't know if there are some differencies CTP3 and the last version.

follow this link to get the last version of powershell V2 and winRM for XP

http://support.microsoft.com/kb/968929

You need yo uninstall powershell on your workstation and install the Windows Management Framework 2.0.

test-connection is a cmdlet include in pssnapin microsoft.powershell.management

You can verify if cmdlet is present by these cmdline

add-PSSnapin microsoft.powershell.management

Get-Command -Name Test-Connection

 

 

 

CommandType     Name                                                Definition
-----------     ----                                                ----------
Cmdlet          Test-Connection                                     Test-Connection [-ComputerName] <String[]> [[-So...

 

 

 

Please to make a feedback.

See U

Sylv1

Page 1 of 1 (2 items) | RSS
Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.