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  All  Virtual  Networks  

 Content of List All Virtual Networks.vbs
MD5 Hash: 6973FAA1D8CEF122F6DA4EF80C23B1EB
' Description: Lists all the virtual networks on a computer.


On Error Resume Next

Set objVS = CreateObject("VirtualServer.Application")
Set colNetworks = objVS.VirtualNetworks

For Each objNetwork in colNetworks
Wscript.Echo "Bytes dropped: " & objNetwork.BytesDropped
Wscript.Echo "Bytes received: " & objNetwork.BytesReceived
Wscript.Echo "Bytes sent: " & objNetwork.BytesSent
Wscript.Echo "File: " & objNetwork.File
Wscript.Echo "Host adapter: " & objNetwork.HostAdapter
Wscript.Echo "Name: " & objNetwork.Name
Wscript.Echo "Notes: " & objNetwork.Notes
Wscript.Echo "Packets dropped: " & objNetwork.PacketsDropped
Wscript.Echo "Packets received: " & objNetwork.PacketsReceived
Wscript.Echo "Packets sent: " & objNetwork.PacketsSent
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