This is a script that I use to install all the software I need after a fresh installation of Windows 10 Pro. The purpose of this script is to automate the installation of software and to make it easier to setup your desired environment. This script is not intended to be used by anyone else but me. However, if you find it useful, feel free to fork it and make it your own. I have included a list of software that I use on a daily basis.
- Renames the computer
- Removes Search, News and Interests and Cortana from the taskbar
- Sets the background to a solid colour [rgb(56, 56, 56)] / Dark Grey
- Installs the following PowerSHell modules:
- PSWindowsUpdate
- HttpListener
- PnP.PowerShell
- Az
- Microsoft.PowerShell.SecretManagement
- ImportExcel
- Start SSH-Agent Service and set it to automatic (Nice to have if you use SSH keys with Passphrase)
- Install Winget Packages from json file in this repo
- Enables Hyper-V
- Windows 10 Pro (tested on 21H2), it may work on other versions but I have not tested it
- WinGet installed
- PowerShell 5.1 or higher (tested on 7.1.3)
- PowerShell Execution Policy set to RemoteSigned
-
Install Winget (App Installer) from the Microsoft Store, if
-
Open PowerShell as Administrator
-
Run the following command to set the Execution Policy to RemoteSigned
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
-
Install Git if you don't have it already via Winget
Install Git and PowerShell via Winget and open new PowerShell session in order to load git into the path
winget install git;PowerShell
-
Clone this repo
cd $env:USERPROFILE;git clone https://github.com/kosmolito/Win10ProEnvironmentBuilder.git
-
Change directory to the repo
cd .\Win10ProEnvironmentBuilder\
-
Run the script
.\Win10ProEnvironmentBuilder.ps1