SCCM TASK Upgrade Deployment

Zirigo 1 Reputation point
2021-10-15T18:51:47.95+00:00

My environment is running in ConfigMgr 2107 Branch.
I have been tasked to upgrade multiple client machines with SCCM Task Sequence. So far, so good.
Then, the Upgrade package in the task sequence must be in "Pre-Cache" mode to accommodate two nightly reboots. I am able to push the package through Task Sequence in the Pre-Cache mode, which allow the package to fully download on the client machine.
But then, I need a PowerShell script to initiate the installation once the package is fully downloaded on the client machine and I don't know what to do to make it work. I read few articles online that describes the process but I don't see how to implement it in my environment:

  1. Should it be to push a package without a program included except the PowerShell Script to initiate the installation automatically?
  2. Or, is there a way to include a Powershell script or a command line within the Task Sequence to tell it what to do next once the package has been fully downloaded?

Here is a visual of my task Sequence:
![140869-image.png]1

Please, I need your help figuring out what to do next.
Thank you so much
PS: We Pre-Cache to avoid the interruptions that are caused by the two nightly shutdown of the client machines.

Microsoft Configuration Manager Deployment
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Deployment: The process of delivering, assembling, and maintaining a particular version of a software system at a site.
902 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Simon Ren-MSFT 30,116 Reputation points Microsoft Vendor
    2021-10-18T08:44:41.59+00:00

    Hi,

    Thanks for posting in Microsoft Q&A forum.

    Per my experience, as the pre-cache task sequence must be deployed as "Available" and then the end user should manually click the "Install" button on the software center to trigger the installation process after the package is fully downloaded. If you would like to initiate the installation automatically, it's recommended your 1 option to initiate the installation. In the option 2, the Powershell script or a command line within the Task Sequence will also not be triggered automatically.

    Best regards,
    Simon


    If the response is helpful, please click "Accept Answer" and upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Zirigo 1 Reputation point
    2021-10-18T13:31:45.837+00:00

    Thank you Simon for your feedback.
    As I have never done either one of the options before, would you provide steps to this accomplished?
    Even though option 1 recommends to deploy a package without the program, I can't seem to pass this stage because it asks that I provide some kind of executable.
    In Branch 2107, the three options I have to create a package without a program are:

    1. Driver Packages
    2. Operating System Images
    3. Operating System Upgrade Packages

    And all three don't seem appropriate to send the PowerShell package deployment in order to initiate the automated installation once the OS is fully downloaded and available in Software Center.
    Would anyone provide me with the steps to proceed further?

    I gratefully appreciate your help.


  3. Zirigo 1 Reputation point
    2021-10-19T20:50:35.413+00:00

    So from what you've shown above, in the case of the Pre-download package, it is possible to include in the same task sequence a PowerShell script to automate the initiation of the install start once the upgrade image is available in Software Center?
    Would you know the exact script to initiate the install once the download is completed?

    Thank you again for your input.