diff --git a/functions/Get-Input.ps1 b/functions/Get-Input.ps1 index bca6f65..6247ed6 100644 --- a/functions/Get-Input.ps1 +++ b/functions/Get-Input.ps1 @@ -33,14 +33,14 @@ function Get-Input { # Loop until a valid input is provided (if Required switch is used) while ($Required -and ($null -eq $UserInput -or $UserInput -eq '')) { - Write-Host "Required | " -ForegroundColor DarkRed -NoNewline + Write-Host "`nRequired | " -ForegroundColor DarkRed -NoNewline $UserInput = Read-Host -Prompt $Message $UserInput = $UserInput.Trim() } # If Required switch is not used, get input without validation if (-not $Required) { - Write-Host "Optional | " -ForegroundColor DarkCyan -NoNewline + Write-Host "`nOptional | " -ForegroundColor DarkCyan -NoNewline $UserInput = Read-Host -Prompt "$Message" $UserInput = $UserInput.Trim() }