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.
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