Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Update All Collections Immediately Using the ASDK

Updated: 23 Apr 2007 | 8 comments
Screenbert's picture
0 0 Votes
Login to vote

This script forces an update on ALL collections that you have on your NS server. This might be handy for patch deployments when you add new machines into a collection and you need the intersect collections to update.

Depending on the number of collections you have this process could be pretty resource intensive so run it with caution.

With this script, just run it and wait for it to tell you it's finished.

Before running, you'll want to:
(1) Ensure you have the ASDK installed
(2) Modify the section at the top (It's clearly identified) with your NS Server Name.

License: AJSL
By clicking the download link below, you agree to the terms and conditions in the Altiris Juice Software License
Support: User-contributed tools on the Juice are not supported by Altiris Technical Support. If you have questions about a tool, please communicate directly with the author by visiting their profile page and clicking the 'contact' tab.
 

Comments

Robert Lundsten's picture
11
Oct
2006
0 Votes 0
Login to vote

Delta Update

Hi screenbert

Thanks for this great tip. Do you know a way to only do a Delta Update?

Thanks!

Robert Lundsten

Asterio AB - System Management Solutions
http://www.asterio.se

Robert Lundsten
Consultant / Founder : Asterio

Homepage | http://www.asterio.se
Blog | http://www.asterio.se/blogg
Twitter | http://twitter.com/asterioan

Screenbert's picture
03
May
2007
0 Votes 0
Login to vote

Delta Updates

Delta Updates are not currently supported by the ASDK. That would be an excellent thing for them to include in the next version of the ASDK. You might be able to execute a scheduled task on the NS server...

Screenbert

Screenbert

itsmillertime4u's picture
10
May
2007
0 Votes 0
Login to vote

Returns error

I can't get this to work, it returns back:

Class doesn't support automation 'collectionManagement.UpdateCollections'

Screenbert's picture
10
May
2007
0 Votes 0
Login to vote

ASDK

Do you have the ASDK loaded on your NS server?

Screenbert

Screenbert

itsmillertime4u's picture
11
May
2007
0 Votes 0
Login to vote

I do

I do have the ASDK loaded on the server, and I can update a specfic collection, which I do all the time, but it doesn't seem to like null for the UpdateCollections(null) value. We also can't do this via the website, it times out and never finishes, I ended up creating a script that updates the collections that I find important and then I created a scheduled task to run the script every hour.

vondarius's picture
13
Sep
2007
0 Votes 0
Login to vote

SSL enabled, ASDK not working.

Please advise, I have SSL enabled on my NS and as such all attempts to run scripts fail with errors specifically pointing to HTTP. How can I alter/modify the ASDK to run all tasks using HTTPS?

Screenbert's picture
13
Sep
2007
0 Votes 0
Login to vote

ASDK SSL

I would think that you could modify the CS files if you are using C# and in your code when using VB.

Screenbert

Screenbert

vondarius's picture
14
Sep
2007
0 Votes 0
Login to vote

ASDK SSL

Excuse my ignorance but what am I modifying,i.e. the specific code?