Jump to content


  • 0
scottmj

SCCM Updates (only if condition/flag is true)

Question

Hi all,

 

I'm currently looking for a way to (more) automate the patching and restarting of my servers.

 

Currently I am happily making Collections, and deploying updates to them. I am making the updates available but not setting deadlines. This is because I have to confirm a full C: Drive/System State backup has been done before I can install the updates. Currently these backups are a manual process I will be also looking to automate. If I can get SCCM to detect the backup has been done, I want to to then go ahead and install the updates. I can come along a little later and check the server/s to make sure things are running as they should be.

 

So, yeh, I am looking for a way to get SCCM to confirm that the backup has been done (i.e. I could create a text file/flag of some sort) and only then would it install the pre-configured updates.

 

I have a few different people whoh could script some vb/powershell stuff for me so if that is what it would take I am happy to hear it.... I just need pointing in the right direction.

 

Thanks!

Matt

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hello Matt,

 

Jst an idea. Why wouldn't you use the SCCM default functionality for your scope?

For eaxample add a new condition to the collection which contains all your targets. Add a query which will allow targets to that collection only if they meet an additional condition (your flag). You could gather the information about your flag with software or hardware inventory.

You could force a software/hardware inventory execution on your collection containing all your target servers before starting the deployment of updates.

 

Hope this gives you some ideas.

Gabriel.

Share this post


Link to post
Share on other sites

  • 0

Hi,

If you make them available to the clients, you should be able to create a custom task sequence, run a script that either starts the backup or check that it is completed, and then use the builtin "Install Software Updates" step after that. Then the updates would install.

Then you could also a make a condition so that if the backup check fails, e-mails you or whatever you would like.

 

I could see that working..

 

Regards,

Jörgen

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.