Sarting setupScript

This commit is contained in:
2023-10-23 15:13:25 +00:00
parent 4a8941ac5c
commit e333365da4

33
setupScript.ps1 Normal file
View File

@@ -0,0 +1,33 @@
function SetupLabo {
Write-Host "Performing Labo Installation..."
}
function SetupInfo {
Write-Host "Performing Info Installation..."
}
function SetupLaptop {
Write-Host "Performing Laptop Installation..."
}
function Show-InstallationMenu {
$selection = $null
do {
Write-Host "Which type of installation would you like to perform?"
Write-Host "1. Labo"
Write-Host "2. Info"
Write-Host "3. Laptop"
$selection = Read-Host "Enter the number of your choice"
switch ($selection) {
"1" { SetupLabo }
"2" { SetupInfo }
"3" { SetupLaptop }
default { Write-Host "Invalid selection. Please choose 1, 2, or 3." }
}
} while ($selection -ne "1" -and $selection -ne "2" -and $selection -ne "3")
}
Show-InstallationMenu