Reorganisation of the setup

- Autounattend files moved to Autounattend folder
- WDAC files moved to WDAC folder
- Added WDAC check to setupScript
- Moved RDP to setupRDP
- Moved Activate to setupActivate
- Added online setup of Office with offline fallback
- Changed setupUsers to be more standard and allow customisation
- Added rastop setup
This commit is contained in:
2024-01-29 10:20:09 +01:00
parent 216de49e8b
commit 820953e206
15 changed files with 280 additions and 174 deletions

View File

@@ -5,10 +5,7 @@ function UpdateWindows {
if ($ieFeature.State -eq "Enabled") {
Write-Host "Removing Internet Explorer."
Disable-WindowsOptionalFeature -online -NoRestart -FeatureName internet-explorer-optional-amd64
} else {
Write-Host "Internet Explorer is already disabled."
}
}
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
Install-Module -Name PSWindowsUpdate -Force
Get-WindowsUpdate -ForceInstall