Update All Collections Immediately Using the ASDK
Updated: 23 Apr 2007 | 8 comments
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. |
Download Filed Under:
Comments
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
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
Returns error
I can't get this to work, it returns back:
Class doesn't support automation 'collectionManagement.UpdateCollections'
ASDK
Do you have the ASDK loaded on your NS server?
Screenbert
Screenbert
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.
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?
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
ASDK SSL
Excuse my ignorance but what am I modifying,i.e. the specific code?
Would you like to reply?
Login or Register to post your comment.