AO-Deploy - folder layout =========================== This whole folder is published as https://download.buhky.io/Deploy/ AO-Deploy.ps1 the GUI (dark mode): "Install Apps" tab + "Debloat" tab, one Run button AO-Deploy.cmd double-click launcher: downloads the latest ps1 and runs it installers\ any EXE / MSI you host yourself (Dialpad, Chrome, ScreenConnect, ...) -> https://download.buhky.io/Deploy/installers/ Run on a new PC (PowerShell prompt): irm https://download.buhky.io/Deploy/AO-Deploy.ps1 | iex From cmd / Win+R: powershell -NoP -Ep Bypass -C "irm https://download.buhky.io/Deploy/AO-Deploy.ps1 | iex" Or copy this folder to a USB stick and double-click AO-Deploy.ps1 / AO-Deploy.cmd. When run from a folder that has an installers\ sub-folder, local files are used first and only missing ones are downloaded from download.buhky.io. Adding a hosted installer ------------------------- 1. Drop the file in installers\ (e.g. installers\DialpadSetup.msi) 2. Add a line to $Catalog in AO-Deploy.ps1: [pscustomobject]@{ Cat="Communication"; Name="Dialpad"; Type="file"; File="DialpadSetup.msi"; Checked=$true } - MSI files run with /qn /norestart automatically. - EXE files run with /S unless you give Args="..." (e.g. Args="/silent /install"). - Optional Fallback="Winget.Id" installs from winget if the file is missing. 3. Re-upload the folder. Office 32-bit vs 64-bit uses the Office Deployment Tool. Change the product with -OfficeProductId O365BusinessRetail (default is O365ProPlusRetail) or edit the default at the top of AO-Deploy.ps1. Debloat tab ----------- Debloat jobs run BEFORE installs, after a confirm box. All unchecked by default. - Remove Dell bloat everything named *Dell* except $DellKeep (Command Update, Core/Foundation Services, Trusted Device, Optimizer) - was Remove-DellApps.ps1 - Delete leftover Dell folders SupportAssist / Pair / WatchDog remnants - Remove preinstalled Office ODT - was REMOVE-Office-C2R.ps1 - Remove Store junk Xbox, Solitaire, Bing, Clipchamp, Candy Crush etc. ($AppxJunk list) Edit $DellKeep / $DellLeftovers / $AppxJunk near the top of AO-Deploy.ps1 to tune them. The two original *.ps1 scripts in this folder are no longer needed by the GUI. Managed clients (clients.json) ------------------------------- The "Client" dropdown at the top right of the window is filled from https://download.buhky.io/Deploy/clients.json (fetched every time the app starts) Picking a client ticks that client's apps + debloat jobs; the tech can still adjust before Run. To add or change a client: edit clients.json in this folder, re-upload the folder. No script change. Fallbacks if the site is unreachable: clients.json next to the script (USB), then a built-in example. Entry format: "Client Name": { "apps": ["chrome", "office64", "teams", "reader64", "7zip", "screenconnect"], "debloat": ["dell", "dellfiles", "officec2r", "appx"], "screenconnect": "https://alphaomegatech.screenconnect.com/Bin/ScreenConnect.ClientSetup.msi?e=Access&y=Guest&c=Client%20Name" } App keys are the Key= values in $Catalog (listed in the _apps line of clients.json). Debloat keys are the Action= values in $Debloat. "screenconnect" is optional: a per-client Access installer link (build it on the ScreenConnect Access page so the PC lands in that client's group). When set, it replaces the generic link for that run.