Open Invoke-Install.ps1
in an elevated PowerShell ISE prompt and run the required sections.
By default, this script will:
-
Uninstall Microsoft Edge (Stable channel) and Windows Terminal. These will be reinstalled via Chocolatey
-
Install Chocolatey, along with all packages defined in
$ChocoPackages
-
Install Visual Studio Code along with all extensions defined in the following variables:
$VsCodeThemes
: Themes$VsCodeIcons
: Icons$VsCodeExtensionsCustom
: Custom extensions$VsCodeExtensionsMs
: Microsoft extensions
-
Install the NuGet package provider for PowerShell
-
Install all PowerShell modules defined in
$PwshModules
and list them after installation
Open Invoke-Config.ps1
in VS Code and run the required sections using the integrated terminal.
By default, this script will:
- Clone this repo in
~\repos\github
- Configure oh-my-posh to use a custom theme, defined in
oh-my-posh\sander.omp.json
- Load my PowerShell profile, defined in
pwsh\Microsoft.PowerShell_profile.ps1
- Load my Windows Terminal settings, defined in
windows-terminal\settings.json
- Load my VS Code settings, defined in
vscode\settings.json
- Run Sophia Script with a custom configuration, defined in
sophia\Sophia_custom.ps1
Run Invoke-Update.ps1
manually or create a scheduled task. This script will update:
- All Chocolatey packages
- All PowerShell modules