Win10Script
This is the Ultimate Windows 10 Script from a creation
... as a reference implementation for Windows 10 optimization. The project is licensed under MIT and includes a README that explains usage, options, and caveats. In its documentation and blog posts, ChrisTitus also recommends that this tool is best used early (before too many user customizations), and that one should be careful as aggressive tweaks can break certain features.