This is essentially what I want to do:
Write-Host "Enter username: " -NoNewLine
$username = Read-Host -NoNewLine
if ($username -eq "") {
Write-Host "None"
}
If the user were to enter nothing, then this would be my desired output: Enter username: None
However I have been unable to find a way to read user input without it generating a new line, and -NoNewLine does not work with Read-Host.