Skip to content

dfederm/MachineSetup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MachineSetup

This is my personal machine setup script. The script will configure some settings, install some apps, and do some light debloating.

Structure

  • setup.ps1 — Main entry point, discovers components and runs those matching the selected scope
  • components/ — Individual setup components, each with Detect and Install logic
  • lib/ — Shared PowerShell modules (Console, Registry, WinGet, etc.)
  • bin/ — Scripts and tools deployed to BinDir
  • work/ — Work-specific bin files

How to run

To run the scripts from the repo exactly as-is (recommended only for me, or if you've forked this repo and customized it yourself):

Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process
iex "& { $(iwr https://raw.githubusercontent.com/dfederm/MachineSetup/main/bootstrap.ps1) }" | Out-Null

To manually download and tweak the scripts, just clone or download the whole repo and run setup.ps1:

# Interactive (will prompt for preferences)
.\setup.ps1

# Non-interactive
.\setup.ps1 -IsForWork -InstallCommsApps

Each component declares a Scope (common, work, comms, or work-comms) to control when it applies. The script is idempotent — each component detects whether it's already applied and skips itself if so.

About

Personal machine setup scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors