Welcome to ISAserver.org

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

Is it possible to batch import IP address ranges with vbscripts?

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [ISA Server 2004 Firewall] >> Management >> Is it possible to batch import IP address ranges with vbscripts? Page: [1]
Login
Message << Older Topic   Newer Topic >>
Is it possible to batch import IP address ranges with v... - 28.Mar.2005 11:41:00 AM   
sevenup

 

Posts: 8
Joined: 21.Jan.2004
Status: offline
hi,all

I have read the scripts for import URLs or Domainnames from a text file in Shinder's isa2004 book.

I try to import subnet IPs from a text based datafile. But it seems no way.
I export a xml for a sample "Networks" define and a "URLsets" define:

- <fpc4:Networks StorageName= Networks" StorageType="0">
- <fpc4: Network StorageName ="{CBC0AA48-B1AA-45F1-A13E-750FB9736DD9}" StorageType="1">
<fpc4:Name dt:dt="string">A Network</fpc4:Name>
<fpc4:NetworkType dt:dt="int">0</fpc4:NetworkType>
- <fpc4:IpRangeSet StorageName=" IpRangeSet " StorageType="1">
- <fpc4:IpRangeEntry StorageName="{C472B513-9A0C-4E26-98DE-A2ED3CE52C12}" StorageType="1">
<fpc4:IPFrom dt:dt="string"> aaa.bbb.0.0 </fpc4:IPFrom>
<fpc4:IPTo dt:dt="string"> aaa.bbb.255.255 </fpc4:IPTo>
</fpc4:IpRangeEntry>
- <fpc4:IpRangeEntry StorageName="{2AE49E29-E3CE-4F59-A9D2-093F242C7ADE}" StorageType="1">
<fpc4:IPFrom dt:dt="string"> ccc.ddd.0.0 </fpc4:IPFrom>
<fpc4:IPTo dt:dt="string"> ccc.ddd.255.255 </fpc4:IPTo>
</fpc4:IpRangeEntry>
</fpc4:IpRangeSet>

<fpc4:URLSets StorageName="URLSets " StorageType="1" />
- <fpc4:DomainNameSets StorageName="DomainNameSets" StorageType="1">
- <fpc4:DomainNameSet StorageName ="{EB513997-BD70-432E-BCD0-42FD9869C66B}" StorageType="1">
- <fpc4:DomainNameStrings>
<fpc4:Str dt:dt="string"> *.microsoft.com </fpc4:Str>
<fpc4:Str dt:dt="string"> *.ibm.com </fpc4:Str>
<fpc4:Str dt:dt="string"> *.hp.com </fpc4:Str>
<fpc4:Str dt:dt="string"> *.dell.com </fpc4:Str>
</fpc4:DomainNameStrings>

the URLs stored in the same "StorageName" but the Subnets creat their own storagename. I guess that means I must creat a lot of subnets in isa2004 management console first, and then I can write scripts to fill in each predefined subnets

is there another way?
"[Confused]"

[ March 29, 2005, 03:06 AM: Message edited by: sevenup ]
Post #: 1
RE: Is it possible to batch import IP address ranges wi... - 9.May2005 3:15:00 PM   
browolf

 

Posts: 15
Joined: 11.Feb.2005
Status: offline
there's some more sample scripts in the isa 2k4 SDK which u can download from M$

also included is a help file, but it's pretty obcure. the most it helps me is listing the methods and properties object support.

(in reply to sevenup)
Post #: 2

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [ISA Server 2004 Firewall] >> Management >> Is it possible to batch import IP address ranges with vbscripts? 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