Improve company productivity with a Business Account.Sign Up
$strcom = read-host "Enter the name"
if ($strcom -eq 2)
Write-host "You are the best"
Elseif ($strcom -eq 1)
Write-host "You ugly hell"
Write-host "You have entered the wrong number we got only 1 & 2 choices"
Open in new window
If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.