ASDK Tool a Day #4 - Build Dynamic Collections Based on Subnets
Updated: 10 Aug 2009 | 2 comments
#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.
download Filed Under:
Comments
Missing code
Hi Kinetic, could you please check that the attachment has worked correctly? When i download it comes down empty :( thanks !!
Confirmed
Confirmed, enclosed file is 0 length thus empty.
Dane Jones
デーンジョーンズ
Altiris Systems Engineer / Administrator
Honda R&D Americas, Inc.
Would you like to reply?
Login or Register to post your comment.