Author Topic: Want to skip updates of certain applications on certain devices  (Read 74 times)

Offline lorfo

  • Newbie
  • *
  • Posts: 2
    • View Profile
Hi all

I have need to skip updates of Java on just certain devices.

At first, was going to just put the required devices into a device collections but with the Java updates being pushed via ADR this creates a manual overhead I don't want.

So was thinking that putting a file on the C:\ drive i.e. "$DO_NOT_UPDATE_JAVA.MARKER", if the update finds this file skip update.

If I create a PS script and place it into the pre-update script section what logic would I need to skip the update fully as I gather just an "if found exit" logic would just exit the current script not the actual update that is run in another script?

Hope this makes sense .. :-/

Thanks

Liam
 

Offline Justin Chalfant

  • Patch My PC Support
  • Administrator
  • Hero Member
  • *****
  • Posts: 2071
    • View Profile
    • Patch My PC Support
Re: Want to skip updates of certain applications on certain devices
« Reply #1 on: June 29, 2020, 05:07:23 AM »
The best option for this would be to create an exclude collection for your deployment?

Offline lorfo

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Want to skip updates of certain applications on certain devices
« Reply #2 on: June 29, 2020, 04:07:03 PM »
Thanks for getting back to me but the complexity of doing this in the ADR update process is quite high.

I take it from that answer no simple way with PMP to "break" the update in code?

Thanks

Liam

Offline Justin Chalfant

  • Patch My PC Support
  • Administrator
  • Hero Member
  • *****
  • Posts: 2071
    • View Profile
    • Patch My PC Support
Re: Want to skip updates of certain applications on certain devices
« Reply #3 on: June 30, 2020, 12:15:44 PM »
no simple way with PMP to "break" the update in code?
Not sure I follow this question?