Installation sequence when I buy a new PC
- Visual studio. Both VSCode and Visual Studio 2022
- Azure Storage Explorer
- Azure Storage Emulator. Must migrate to Azurite!
- KeePass
- All plugins. Download the plugin
.plgx
and save it in theC:\Program Files\KeePass Password Safe 2\Plugins
folder. - OneDrive synch
- All plugins. Download the plugin
- Github Desktop
- Git cli. It is needed for VSCode git integration
- Sql Server, download the
Developer
version. - Sql Server Management Studio
- node. Add Additional building tools (including Chocolate)
- nvm-windows
nvm install 16.17
To find the installation media for Office 2019/2016 visit https://account.microsoft.com/services
Visit setup.office.com to activate a new license.
By default all downloaded from internet scripts (or every script) doens't run without permittion. Unblock this restriction.
Set-ExecutionPolicy Unrestricted -scope CurrentUser
And then for every script, including MyShortcut run
Unblock-File ...
Install the New powershell from the marketplace.
Change the default shell to the 'PowerShell' and maybe edit the settings.json to clear up some unneeded shells
Download CascadiaCode font, unzip and install them.
Change the Terminal settings to use CascadiaCode NF
font.
Installation
winget install JanDeDobbeleer.OhMyPosh
# restart shell to reload PATH
Edit $Profile
Test-Path $profile
: Test if the file exists
New-Item -path $profile -type file –force
: Create if not exists
The profile script will now be created. It will be in the location following the “Directory:” output. When we browse to that location, the profile script will be there waiting for us to modify. Open the file named “Microsoft.Powershell_profile.ps1”
Edit the file and add this oh-my-posh --init --shell pwsh --config ~/Documents/PowerShell/ohmyposhv3-v2.json | Invoke-Expression
Download Oh my posh json and save it at the Documents/Powershell folder
Reload Profile . $PROFILE
Install-Module -Name Terminal-Icons -Repository PSGallery
and add the following at the $profile (code $profile
)
Import-Module -Name Terminal-Icons