top of page
  • Writer's pictureGareth Oxendine

Update iTunes using Intune and a Script (Windows)

For security, compliance, or generic "house-cleaning" reasons, you may be tasked with ensuring iTunes is up to date on your company's Windows devices. Using Intune, you can deploy the script below that will update both the Microsoft Store and desktop versions of iTunes. The script uses the winget PowerShell module to search for and update iTunes. To learn more about deploying scripts using Intune or about using the winget PowerShell module, see the articles below:



Script Summary: the script below uses winget to see if iTunes is installed. If the Windows Store version of iTunes is installed, it will update it. If both the Windows Store and desktop versions are installed, it will uninstall the desktop version as both are not needed. If the Windows Store version is not installed but the desktop version is, it will update the desktop version. If neither are installed, then the script does nothing.


It goes without saying, but feel free to modify the script as needed. You may not want to uninstall anything and only update.




38 views0 comments

Comments


Recent Posts

Like this Article?

If this information was helpful, we want to know!

Leave a like by clicking the heart at the bottom of the page. 

Next Coffee on You?

We hope this article was helpful to you! If so, want to send a donation as a form of thanks? Just click the coffee cup!  :)

bottom of page