README

Simple bootstrap scripts for new installations.

The intention for these scripts are to setup a new system in a standardized way with minimum user intervention. But a lot of things might need customization anyway. Works on my machine…

Linux

Install

curl https://boot.charlottendal.net/boot.sh|bash

Windows

Install WinGet

The new installation script, using winget and chezmoi.

boot.ps1

Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned -Force
iex (iwr "https://boot.charlottendal.net/boot.ps1")

Old Boot script

This was my previous version, keep here as reference. boot.old.ps1

Install

In powershell as admin.

iwr "https://boot.charlottendal.net/boot.old.ps1" -OutFile boot.old.ps1
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned -Force
.\boot.old.ps1

Install basic PowerShell profile

Install a PowerShell profile on systems that should have a minimum of third party software installed, like servers. This will most likely only work on the Desktop version of PowerShell on Windows, ie 4.0 and up.

[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls11 -bor [System.Net.SecurityProtocolType]::Tls12
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned -Force
New-Item $Profile.CurrentUserAllHosts -Force
iwr "https://boot.charlottendal.net/profile.ps1" -OutFile $Profile
. $profile
Set-PSConsole

GitHub src

Testing

Put certificates if needed in the Build folder and do a gen-sandboxconf.ps1 in that folder. Start with .\boot-sandbox.wsb

This will start the Windows sandbox and run the installation.