Skip to content

Sample app for installing Windows updates during an Autopilot deployment

Notifications You must be signed in to change notification settings

mtniehaus/UpdateOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a2471b9 · Aug 21, 2024

History

14 Commits
Aug 21, 2024
Sep 25, 2023
Aug 28, 2023
Aug 21, 2024
Oct 30, 2019

Repository files navigation

UpdateOS

Sample app for installing Windows updates during an Autopilot deployment. Add the UpdateOS.intunewin app to Intune and specify the following command line:

powershell.exe -noprofile -executionpolicy bypass -file .\UpdateOS.ps1

To "uninstall" the app, the following can be used (for example, to get the app to re-install):

cmd.exe /c del %ProgramData%\Microsoft\UpdateOS\UpdateOS.ps1.tag

Specify the platforms and minimum OS version that you want to support.

For a detection rule, specify the path and file and "File or folder exists" detection method:

%ProgramData%\Microsoft\UpdateOS\UpdateOS.ps1.tag

Deploy the app as a required app to an appropriate set of devices.

About

Sample app for installing Windows updates during an Autopilot deployment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published