-
Notifications
You must be signed in to change notification settings - Fork 1
Setup Updates : Rohini Gorige
rohini-gorige edited this page May 9, 2022
·
23 revisions
Step: [1.1] Windows Version
Command Executed:
Get-ComputerInfo | select WindowsProductName, WindowsVersion
Output:
Step: [1.2] HyperV is Enabled
systeminfo
- If HyperV is Disable:
Output:
- If HyperV is Enable:
Output:
Step: [2.1] Workspace & Applications
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope currentuser
Output:
iwr -useb https://raw.githubusercontent.com/rajasoun/win10x-onboard/main/e2e.ps1 | iex
Output:
cd ~\workspace
Output:
git clone https://github.com/rajasoun/win10x-onboard
Output:
cd win10x-onboard
```\
Output:
![image](https://user-images.githubusercontent.com/102786626/167404210-0b3189b1-1939-4a4c-8099-47fb662ba11c.png)
Invoke-Pester e2e.Tests.ps1 -Tag "prerequisite" -Output Detailed
Output:
![image](https://user-images.githubusercontent.com/102786626/167415423-d6fa8618-aecc-4faa-8e05-af6371a4023b.png)
Invoke-Pester src\lib\Workspace.Tests.ps1 -Output Detailed
Output:
<img width="573" alt="21" src="https://user-images.githubusercontent.com/102786626/167415710-70609122-c19a-4494-b1ce-ee0460e0b642.PNG">
Invoke-Pester src\lib\Apps.Installer.Tests.ps1 -Output Detailed
Output:
<img width="555" alt="22" src="https://user-images.githubusercontent.com/102786626/167415877-67c61b21-46aa-4872-977d-78efd9d951ec.PNG">
## Test Setup
**Step: [1.2] Docker Test**
1. Open Git Bash command prompt and output should contain Hello from Docker
docker run --rm hello-world
2. Bash Test: Check the Speed of the Internet using Bash Script
wget -O- -q https://raw.githubusercontent.com/rajasoun/aws-toolz/main/all-in-one/speed.sh | bash
## If we get an error as command not found :
Output:
<img width="474" alt="wget error" src="https://user-images.githubusercontent.com/102786626/167291490-e647867c-2568-40a0-97cd-bc6886b1a39b.PNG">
* Then download [wget.exe](https://eternallybored.org/misc/wget/)
* Open file explorer - Program files - git - mingw64 - bin
* Open file explorer (open in new windows) - downloads - wget (right click on wget) ("cut" the file and paste it in the above opened window "bin"))
* Now open git bash command prompt and paste the below comment
wget --version
wget -O- -q https://raw.githubusercontent.com/rajasoun/aws-toolz/main/all-in-one/speed.sh | bash
Note: **This is based upon the internet speed of your broadband**
Output:
<img width="502" alt="wget resolution" src="https://user-images.githubusercontent.com/102786626/167293539-ee987588-3b91-47e1-9068-b9b02864407a.PNG">
Turn repeatable, routine tasks into Automated software for Agility, Productivity & Scale