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:  List  Terminal  Services  Network  Adapter  List  Settings  

 Content of List Terminal Services Network Adapter List Settings.vbs
MD5 Hash: 85E7BEE56A992BA9CA5F94FADD47B309
' Description: Lists the network adapters that can be configured for Terminal Services.


strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set colItems = objWMIService.ExecQuery _
("Select * from Win32_TSNetworkAdapterListSetting")

For Each objItem in colItems
Wscript.Echo "Description: " & objItem.Description
Wscript.Echo "Network Adapter ID: " & objItem.NetworkAdapterID
Wscript.Echo "Network Adapter IP Address: " & objItem.NetworkAdapterIP
Wscript.Echo "Setting ID: " & objItem.SettingID
Wscript.Echo "Terminal name: " & objItem.TerminalName
Wscript.Echo
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