Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  WMI  MSSerial_CommInfo  Query  

 Content of WMI MSSerial_CommInfo Query.vbs
MD5 Hash: 64AB0A4ABE1E921EAA91E0C35838A546
On Error Resume Next

Const wbemFlagReturnImmediately = &h10
Const wbemFlagForwardOnly = &h20

arrComputers = Array(".")
For Each strComputer In arrComputers
WScript.Echo
WScript.Echo "=========================================="
WScript.Echo "Computer: " & strComputer
WScript.Echo "=========================================="

Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\WMI")
Set colItems = objWMIService.ExecQuery("SELECT * FROM MSSerial_CommInfo", "WQL", _
wbemFlagReturnImmediately + wbemFlagForwardOnly)

For Each objItem In colItems
WScript.Echo "Active: " & objItem.Active
WScript.Echo "BaudRate: " & objItem.BaudRate
WScript.Echo "BitsPerByte: " & objItem.BitsPerByte
WScript.Echo "InstanceName: " & objItem.InstanceName
WScript.Echo "IsBusy: " & objItem.IsBusy
WScript.Echo "MaximumBaudRate: " & objItem.MaximumBaudRate
WScript.Echo "MaximumInputBufferSize: " & objItem.MaximumInputBufferSize
WScript.Echo "MaximumOutputBufferSize: " & objItem.MaximumOutputBufferSize
WScript.Echo "Parity: " & objItem.Parity
WScript.Echo "ParityCheckEnable: " & objItem.ParityCheckEnable
WScript.Echo "SettableBaudRate: " & objItem.SettableBaudRate
WScript.Echo "SettableDataBits: " & objItem.SettableDataBits
WScript.Echo "SettableFlowControl: " & objItem.SettableFlowControl
WScript.Echo "SettableParity: " & objItem.SettableParity
WScript.Echo "SettableParityCheck: " & objItem.SettableParityCheck
WScript.Echo "SettableStopBits: " & objItem.SettableStopBits
WScript.Echo "StopBits: " & objItem.StopBits
WScript.Echo "Support16BitMode: " & objItem.Support16BitMode
WScript.Echo "SupportDTRDSR: " & objItem.SupportDTRDSR
WScript.Echo "SupportIntervalTimeouts: " & objItem.SupportIntervalTimeouts
WScript.Echo "SupportParityCheck: " & objItem.SupportParityCheck
WScript.Echo "SupportRTSCTS: " & objItem.SupportRTSCTS
WScript.Echo "SupportXonXoff: " & objItem.SupportXonXoff
WScript.Echo "XoffCharacter: " & objItem.XoffCharacter
WScript.Echo "XoffXmitThreshold: " & objItem.XoffXmitThreshold
WScript.Echo "XonCharacter: " & objItem.XonCharacter
WScript.Echo "XonXmitThreshold: " & objItem.XonXmitThreshold
WScript.Echo
Next
Next

   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a