Ask a questionAsk a question
 

Questionprogramming with SCCM/SMS

  • Thursday, September 11, 2008 4:49 PMWally McClureMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I'm going to have to program against SCCM/SMS for a customer.  I've downloaded the SCCM 2007 SDK.  They are using SCCM 2007.  I am currently reading through the documentation.  I'm trying to understand what are the steps I need to do to tell SMS to install a piece of software onto a user's computer at a given time.  I need to do this programatically in .NET.  I'm not even sure where to start, so any pointers/suggestions would be very helpful.

     

    Wally

All Replies

  • Thursday, September 11, 2008 10:20 PMChirag _CG Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi Wally,

     

    Check the help page "Software Distribution Overview" under the SCCM SDK.chm file's content for "Configuration Manager Software Distribution".

    That's what you would want to do.

     

    Regards,

    Chirag

     

  • Wednesday, October 07, 2009 5:03 PMSidd Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi Wally,


    I also have similar requirement and I am also in same stage where you were. Can you please give me some more pointers?
  • Thursday, October 08, 2009 10:48 AMTorsten [MVP]MVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    What do you want to do exactly? Your question is way too general to give an answer.
  • Thursday, October 22, 2009 2:41 PMRuben S. Knudsen Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    This is a very general answer, but to distribute a piece of software to a computer you need the following:

    • A package.
    • A program for the given package.
    • A collection
    • An advertisement that binds the program and collection together.
    After the program and advertisement is configured correctly. You set the time when the software is available in the advertisement. To assign the software to a specific computer, add the computer to the collection.

    NB! This is when the software is available, and the client may not get it until an hour later, due to the cycle when the computer checks for new advertisements.  If you want a "right now" installation you also have to implement some remote computer coding to trigger the inventory cycle.

    For code examples search the SDK for the following:
    • SMS_Package
    • SMS_Program
    • SMS_Advertisement
    • SMS_Collection
  • Friday, October 23, 2009 1:50 AMJohn MarcumMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I may be off here but it doesn't seem to be something that needs to be coded. SCCM can handle this out of the box, just set the available time and deadline approprieatly.






    John Marcum | http://www.TrueSec.com/en/Training.htm | http://myitforum.com/cs2/blogs/jmarcum