IMO there are two easier options.
One look at program, there can be updated on a schedule.
Two, use powershell, create a new application each time and supersede the old one. This one will be harder.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
We have an internal application that is updated every 2 weeks or so. For the SCCM application, the detection method is based on the version number of the exe that is installed as a part of the app.
I'd like to automate the update of the detection method via a powershell script, but I've never tried this before.
What I want is a script I can run on a scheduled basis. Once a week or so, the script checks the exe file that resides in my source directory. If the version number of the exe no longer matches the version of the package, it will update the version number in the detection method of my app. I can have the script then update the package on the DPs, and voila, the app is then updated during the next maintenance window.
Can someone help me with a script to perform this?
IMO there are two easier options.
One look at program, there can be updated on a schedule.
Two, use powershell, create a new application each time and supersede the old one. This one will be harder.
Thanks Garth,
Using a program is an option.. but I'd prefer an app... then I can verify that all the systems are running the newest versions.
Option two is kind of what I'm asking for. But, if I have to create a new app, I have to create a new detection method anyway. seems to me that all I need to do is update an existing detection method and/or delete and old and recreate a new detection method.