Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List Virtual DHCP Server InformationContent of List Virtual DHCP Server Information.vbsMD5 Hash: D858A507E38B87C79014F4D17380D68D |
||
' Description: Lists Virtual DHCP Server information for a network named Internal Network.
On Error Resume Next Set objVS = CreateObject("VirtualServer.Application") Set objNetwork = objVS.FindVirtualNetwork("Internal Network") Set objDHCPServer = objNetwork.DHCPVirtualNetworkServer Wscript.Echo "Default gateway address: " & objDHCPServer.DefaultGatewayAddress Wscript.Echo "DNS servers: " & objDHCPServer.DNSServers Wscript.Echo "Ending IP address: " & objDHCPServer.EndingIPAddress Wscript.Echo "Is enabled: " & objDHCPServer.IsEnabled Wscript.Echo "Lease rebinding time: " & objDHCPServer.LeaseRebindingTime Wscript.Echo "Lease renewal time: " & objDHCPServer.LeaseRenewalTime Wscript.Echo "Lease time: " & objDHCPServer.LeaseTime Wscript.Echo "Network: " & objDHCPServer.Network Wscript.Echo "Network mask: " & objDHCPServer.NetworkMask Wscript.Echo "Server IP address: " & objDHCPServer.ServerIPAddress Wscript.Echo "Starting IP address: " & objDHCPServer.StartingIPAddress Wscript.Echo "WINS Server: " & objDHCPServer.WINSServers | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |