powershell Help with PowerShell script
Go to solution
Solved by Guest,
A loop is what you think of?
so something like
while (($input = write-host "Input selection") -eq 1) -and ($input = write-host "Input selection") -eq 2)
{
if ($input -eq 1)
{
#write-host sarah and everything relevant to him/her
}
elseif ($input -eq 2)
{
#write-host shaun and everything relevant to him/her
}
}

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now