November 26th, 2013

PowerTip: Determine Version of WSMAN on Remote Computer

Doctor Scripto
Scripter

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

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.