


We must wrap the app before we can upload it to MEM The script will add a new regkey and value to be able to measure successful/unsuccessful installation as well as compliance The magic is happing at rows: 135-142, check it out if you are interested in what the script does.Edit row: 66 as per your need – this is just for cosmetics.Open “ Deploy-Application.ps1” with your favorite Powershell editor.Extract “ W10W11 – Dark Mode” to C:\Temp\W10W11 – Dark Mode.This script will change two register values to enable dark mode.

Change the script to fit your businessīefore we start wrapping the app we should change the script to fit our specific business need. The script has been setup to change to dark mode for all users. The use of “ PSAppDeploymentToolKit” allows us to deploy the needed script as an app during autopilot. The “ W10W11 – Dark Mode” app is based on “ PSAppDeploymentToolKit” – more info can be found here: PSAppDeployToolkit ()
