Skip to content

Commit

Permalink
Launcher looks cooler
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoColomb0 committed Dec 9, 2023
1 parent 0aad18a commit 322d915
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions AzurePSDeployer.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#>

# Display available services and prompt for user input
Write-Host "You are currently able to deploy these services"
Write-Host "🌟 You are currently able to deploy these services"
Write-Host "1. Windows 11 - 23H2 (Client)"
Write-Host "2. Windows Server - 2022 Datacenter Edition"

Expand All @@ -27,11 +27,12 @@ switch ($DeploymentPrompt) {
$DeploymentType = "ws-2022"
}
default {
Write-Host "Invalid selection. Exiting script."
Write-Host "Invalid selection. Exiting script." -ForegroundColor Red
exit
}
}

# Build the script URL and deploy the selected service
$ScriptURL = "https://github.com/MarcoColomb0/AzurePSDeployer/raw/main/deployments/$DeploymentType.ps1"
Write-Host "🚀 Starting $DeploymentType deployment..." -ForegroundColor Green
Invoke-WebRequest -Uri $ScriptURL | Invoke-Expression

0 comments on commit 322d915

Please sign in to comment.