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  Win32_SerialPortConfiguration  Query  

 Content of WMI Win32_SerialPortConfiguration Query.vbs
MD5 Hash: 90D3AB871F6391E1FDB03C7BB1B735D3
On Error Resume Next
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_SerialPortConfiguration",,48)
For Each objItem in colItems
Wscript.Echo "AbortReadWriteOnError: " & objItem.AbortReadWriteOnError
Wscript.Echo "BaudRate: " & objItem.BaudRate
Wscript.Echo "BinaryModeEnabled: " & objItem.BinaryModeEnabled
Wscript.Echo "BitsPerByte: " & objItem.BitsPerByte
Wscript.Echo "Caption: " & objItem.Caption
Wscript.Echo "ContinueXMitOnXOff: " & objItem.ContinueXMitOnXOff
Wscript.Echo "CTSOutflowControl: " & objItem.CTSOutflowControl
Wscript.Echo "Description: " & objItem.Description
Wscript.Echo "DiscardNULLBytes: " & objItem.DiscardNULLBytes
Wscript.Echo "DSROutflowControl: " & objItem.DSROutflowControl
Wscript.Echo "DSRSensitivity: " & objItem.DSRSensitivity
Wscript.Echo "DTRFlowControlType: " & objItem.DTRFlowControlType
Wscript.Echo "EOFCharacter: " & objItem.EOFCharacter
Wscript.Echo "ErrorReplaceCharacter: " & objItem.ErrorReplaceCharacter
Wscript.Echo "ErrorReplacementEnabled: " & objItem.ErrorReplacementEnabled
Wscript.Echo "EventCharacter: " & objItem.EventCharacter
Wscript.Echo "IsBusy: " & objItem.IsBusy
Wscript.Echo "Name: " & objItem.Name
Wscript.Echo "Parity: " & objItem.Parity
Wscript.Echo "ParityCheckEnabled: " & objItem.ParityCheckEnabled
Wscript.Echo "RTSFlowControlType: " & objItem.RTSFlowControlType
Wscript.Echo "SettingID: " & objItem.SettingID
Wscript.Echo "StopBits: " & objItem.StopBits
Wscript.Echo "XOffCharacter: " & objItem.XOffCharacter
Wscript.Echo "XOffXMitThreshold: " & objItem.XOffXMitThreshold
Wscript.Echo "XOnCharacter: " & objItem.XOnCharacter
Wscript.Echo "XOnXMitThreshold: " & objItem.XOnXMitThreshold
Wscript.Echo "XOnXOffInFlowControl: " & objItem.XOnXOffInFlowControl
Wscript.Echo "XOnXOffOutFlowControl: " & objItem.XOnXOffOutFlowControl
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