Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Generate a list of IP ranges for your Domain

 
Logged in as: Guest
arrSession:exec spGetSession 2,16,26614
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> Post a VBScript >> Generate a list of IP ranges for your Domain
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Generate a list of IP ranges for your Domain - 10/1/2005 6:49:59 AM   
  skione

 

Posts: 40
Score: 0
Joined: 10/1/2005
Status: offline
I manage a network that has a lot of subnets. 64 to be exact and unfortunately they seem to change more often than you would think.

I also use an device monitoring and asset management tool which discovers devices based on an IP range sweep method.

So I need to be able to generate a text file of IP ranges and subnet masks for each range and import that into my application.

This script will read all computer agains for a specified domain.

It will then ask for a username and password (this should be a Domain Admin account)

It will then generate a text file called output.txt in the current folder.

The output will be similar to: [192.168.1.1],[192.168.1.254],[255.255.255.0]

It will only add a range if it does not already exist.

It will also display a progress bar which I got from a post in this forum(http://www.visualbasicscript.com/m_24746/tm.htm)


      

This file needs to be named ProgressBarFast.vbs

      
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> Post a VBScript >> Generate a list of IP ranges for your Domain Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts