Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

ASDK Tool a Day #4 - Build Dynamic Collections Based on Subnets

Updated: 10 Aug 2009 | 2 comments
Kinetic's picture
-1 1 Vote
Login to vote

#4 down! 26 more to go. This is getting fun actually.

This script will query an NS using the ExecuteDatabaseQuery method and grab every subnet known to Inventory Solution. It then takes each subnet and creates a dynamic collection on the server under a folder you specify. This is using the CreateCollection method.

Note, the subnets are coming from inventory data, not from defined subnets. It can be adapted easily for creating collections based on defined subnets. Either way, It's a good way to keep your NS resources clean and organized.

Comments

dpeluso's picture
23
Nov
2009
0 Votes 0
Login to vote

Missing code

Hi Kinetic, could you please check that the attachment has worked correctly? When i download it comes down empty :( thanks !! 

Dane Jones's picture
13
Feb
2010
0 Votes 0
Login to vote

Confirmed

Confirmed, enclosed file is 0 length thus empty.  

Dane Jones
デーンジョーンズ
Altiris Systems Engineer / Administrator
Honda R&D Americas, Inc.