Module Consolidation

This commit is contained in:
Andrew Amason
2025-05-19 15:02:55 -04:00
parent 81b2d05cda
commit ec2b22290a
141 changed files with 58449 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
# Scripts
This folder contains a few scripts that suppliment the OIB, but are not requirements for the OIB to function.
All scripts create logs that can be found in the `$ProgramData\Microsoft\IntuneManagementExtension\Logs` folder.
## Enable-AutoTimezone
### Purpose
I have tried to utilise available settings to make this work as part of the Timezone and Privacy policies, however it seems that the only way to get this to work is to run a script. This script will enable the "Set time zone automatically" switch in Settings > Time & Language > Date & Time.
### Usage
**Script type** - Platform Script
**Assign to** - Users
**Script Settings:**
- Run this script using the logged on credentials - No
- Enforce script signature check - No
- Run script in 64-bit PowerShell Host - Yes
## Trigger-PostOOBEUpdates
### Purpose
One big security concern with OOBE is that it doesn't ([currently](https://techcommunity.microsoft.com/blog/windows-itpro-blog/coming-soon-quality-updates-during-the-out-of-box-experience/4374291)) install updates. This means that most devices will be at least a month out of date when they are first used.
This script automatically triggers the following to update once a device gets to the desktop:
- Defender
- Microsoft Store
- Windows Update
The end result of this is that pretty shortly after, any pending updates will be installed, and the user notified a reboot is required, reducing the time between OOBE and the device being secure.
### Usage
**Script type** - Platform Script
**Assign to** - Users
**Script Settings:**
- Run this script using the logged on credentials - No
- Enforce script signature check - No
- Run script in 64-bit PowerShell Host - Yes