This is the script for Edi Wang to setup a new dev box. You can modify the scripts to fit your own requirements.
- A clean install of Windows 11 Pro v23H2 en-us or above.
- If you are in China: a stable "Internet" connection.
This script has not been tested on other version of Windows, please be careful if you are using it on other Windows versions.
Open Windows PowerShell(Admin)
iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/EdiWang/EnvSetup/master/Install.ps1'))
Import "Add_PS1_Run_as_administrator.reg" to your registry to enable context menu on the powershell files to run as Administrator.
- Set a New Computer Name
- Disable Sleep on AC Power
- Add 'This PC' Desktop Icon (need refresh desktop)
- Enable Developer Mode
- Enable Remote Desktop
- Install IIS
- ASP.NET 4.8
- Dynamic and Static Compression
- Basic Authentication
- Windows Authentication
- Server Side Includes
- WebSockets
- Install Chocolate for Windows
- 7-Zip
- VLC
- Microsoft Teams
- SysInternals
- Postman
- Visual Studio Code
- LINQPad
- Fiddler
- Git
- GitHub for Windows
- FFMpeg
- Beyond Compare
- Node.Js
- Azure CLI
- IrfanView
- PowerShell 7
- OBS
- Remove a few pre-installed UWP applications
- Messaging
- CandyCrush
- Bing News
- Solitaire
- People
- Feedback Hub
- Your Phone
- My Office
- FitbitCoach
- Netflix