I need execute a command line in a Visual Basic Script
===

I need to execute in my vbs the command "ver" to see the version of my Operating System, and i don't know how make it.

I try this, but dont work:

Function ExecuteWithTerminalOutput(cmd)
Set shell = WScript.CreateObject("WScript.Shell")
Set Exec =  shell.Exec("ver")
End Function

Please, help me.

Thanks!