Files
setup-script/setupScript.ps1
2023-10-23 15:13:25 +00:00

33 lines
839 B
PowerShell

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