-
Notifications
You must be signed in to change notification settings - Fork 1
Status Updates: Pratim Sil
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
Output:
Command:
iwr -useb https://raw.githubusercontent.com/rajasoun/win10x-onboard/main/e2e.ps1 | iex
Output:
Command:
cd ~\workspace
Output:
Command:
git clone https://github.com/rajasoun/win10x-onboard
Output:
Command:
cd win10x-onboard
Output:
Command:
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
1. In PowerShell window Run following commands following commands to setup HyperV.
First, Switch to Elevated Privilege,
command:
.\e2e.ps1 elevate
Output:
Now, In the New Elevated PowerShell as Administrator Execute the command below
command:
.\e2e.ps1 hyperv
Output:
Restart Your computer
2. After Restarting Windows, search for Turn Windows features on or off in the Start Menu search bar and open it.
3. In the Windows Features , Please check the check boxes before Hyper-V
, Virtual Machine Platform
and Windows Hypervisor Platform
. Then click OK. This will also take some time and then a Restart is necessary
Step: [2.3] WSL2 & Kernel Update
In PowerShell window Run following commands following commands to setup WSL, WSL2 Kernel Update
Switch to Elevated Previlage
command:
.\e2e.ps1 elevate
Output:
Now, In the New Elevated Powershell as Administrator Run the below command to setup WSL, WSL2 Kernel Update
.\e2e.ps1 wsl
Output:
Install Docker Desktop & Launch It
Installed Docker
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
Now , Open Git Bash command prompt and Run the below command
Command:
docker run --rm hello-world
Output:
Step: [2.5.3] Docker speed-test
Check the Speed of the Internet using docker
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:
Switch to Elevated Previlage
Command:
.\e2e.ps1 elevate
Output:
In the New Elevated PowerShell run the below command as Administrator,
Command:
.\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