PowerShell 2.0: One Cmdlet at a Time 46 Test-WSMan

Continuing the series looking at new cmdlets available in PowerShell 2.0. This time we look at the Test-WSMan cmdlet.

What can I do with it?

Test whether WS-Management is available on a computer.

Example:

Test whether WS-Management is available on Test01.

Test-WSMan -ComputerName Test01

You will notice you receive a response detailing wsmid, ProtocolVersion, ProductVendor and ProductVersion if the query is successful.

How could I have done this in PowerShell 1.0?

Support for the use of WS-Management in PowerShell is provided as part of the 2.0 release.

1000 things 1% better!