PowerTip: Determine Version of WSMAN on Remote Computer


Summary: Use Windows PowerShell to determine the version of WSMAN running on a remote computer.

Hey, Scripting Guy! Question How can I use Windows PowerShell to determine the version of WSMAN that is running on remote computers?   

Hey, Scripting Guy! Answer Use Test-WSMAN:

Test-WSMan -ComputerName myserver

wsmid           : http://schemas.dmtf.org/wbem/wsman/identity/1/wsmanidentity.xsd

ProtocolVersion : http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd

ProductVendor   : Microsoft Corporation

ProductVersion  : OS: 0.0.0 SP: 0.0 Stack: 2.0

If you also want to see the operating system version, use:

Test-WSMan -ComputerName myserver  -Authentication default

wsmid           : http://schemas.dmtf.org/wbem/wsman/identity/1/wsmanidentity.xsd

ProtocolVersion : http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd

ProductVendor   : Microsoft Corporation

ProductVersion  : OS: 6.1.7601 SP: 1.0 Stack: 2.0

Comments (3)

  1. The Lame Admin says:

    Why is this important? Do different version come with Windows PowerShell? What is the current version?

  2. Richard says:

    Yes

    PowerShell 2 and PowerShell 3/4 have different versions – WSMAN 2 & 3 respectively

Skip to main content