PowerTip: Determine Version of WSMAN on Remote Computer

PowerTip: Determine Version of WSMAN on Remote Computer

  • Comments 3
  • Likes

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

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • Why is this important? Do different version come with Windows PowerShell? What is the current version?

  • technet.microsoft.com/.../b8c6fb53-48fb-411b-a989-618a74a68067%28v=wps.630%29.aspx

    Windows PowerShell 3.0 / Windows PowerShell 4.0

  • Yes

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