-
Notifications
You must be signed in to change notification settings - Fork 1
Status Updates: Template
Environment: Windows
Reference: README
Step: [1.1] Windows Version
Command
Get-ComputerInfo | select WindowsProductName, WindowsVersion
Output
Step: [1.2] HyperV is Enabled
Command
systeminfo /fo csv | ConvertFrom-Csv | select OS*, System*, Hotfix*,Hyper-V* | Format-List
Output
Step: [2.1.1] Workspace
Command
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope currentuser
iwr -useb https://raw.githubusercontent.com/rajasoun/win10x-onboard/main/e2e.ps1 | iex
cd ~\workspace
git clone https://github.com/rajasoun/win10x-onboard
cd win10x-onboard
Invoke-Pester src\lib\Workspace.Tests.ps1 -Output Detailed
Output
Step: [2.1.2] Applications Setup
Command
.\e2e.ps1 apps
Output
Step: [2.1.3] Check Applications Setup
Command
.\e2e.ps1 apps-setup-test
Output
Step: [2.2.1] Enable HyperV
Command
.\e2e.ps1 elevate
In New Elevated Shell as Administrator
.\e2e.ps1 -type hyperv
Output
Step: [2.3] WSL2 & Kernel Update
Command
.\e2e.ps1 elevate
In New Elevated Shell as Administrator
.\e2e.ps1 -type wsl
Output
Install Docker Desktop & Launch It
Output
Step: [2.5.1] Bash Setup
Command
.\e2e.ps1 bash-it
nix/assist.sh bash-setup
Output
Step: [2.5.2] Docker hello-world Command
docker run --rm hello-world
Output
Step: [2.5.3] Docker speed-test
Command
MSYS_NO_PATHCONV=1 docker run --rm rajasoun/speedtest:0.1.0 "/go/bin/speedtest-go"
Output
Step: [2.5.4] Switch to Powershell
Command
exit
Output
Step: [3.1.1] Workspace Tests
Command
.\e2e.ps1 apps-setup-test
Output
Step: [3.1.2] Application Tests
Command
.\e2e.ps1 elevate
In the New Elevated Powershell as Administrator
.\e2e.ps1 system-setup-test
Output
Step: [3.2.1] Prerequisite Tests
Command
Invoke-Pester e2e.Tests.ps1 -Tag "prerequisite" -Output Detailed
Output
Command
Invoke-Pester e2e.Tests.ps1 -Tag "apps" -Output Detailed
Output
Turn repeatable, routine tasks into Automated software for Agility, Productivity & Scale