.gitignore | ||
automatic-updates-v2-main.zip | ||
Automatic-updates.ps1 | ||
Check-Updates-csv.ps1 | ||
Create-task-reboot.ps1 | ||
Delete-task.ps1 | ||
Install-updates.ps1 | ||
No-updates.ps1 | ||
README.md | ||
setup.ps1 |
Automatic Updates
Mail available updates and install updates
Create folder c:\scripts\automatic-updates. Place there the files.
Run the script setup.ps1. If needed run Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass to allow unsigned script
If required for script variables are stored in c:\Scripts\atuomatic-updates-static\variables.ps1. To use these in script enter next lines:
#Load variables
. "C:\scripts\automatic-updates-static\Variables.ps1"
https://gitlab.fourit.cloud/Ivo/automatic-updates-v2/-/archive/main/automatic-updates-v2-main.zip
ToDo: Mails automatiseren met Power BI Research possibility to update dc first then others. Maybe run from domain controller. Benefit is scripts on one location. https://social.technet.microsoft.com/Forums/en-US/41ad0e87-71f1-4728-a78b-cec7923cefac/run-windows-scheduled-task-on-a-remote-server?forum=winserverpowershell Automatic-Updates-Remote Reboot resume script (werkt niet meer)
ToDo afgerond: Geen resume script bij geen reboot benodigd Cleanup mails send (create csv file with updates)