New to PS and need some help with $null
values, I want to ask the user to set a OU path but if the user enters nothing then it will revert to the default which is in the if statement.
$OU = Read-Host -Prompt "Enter the new users OU path"
if($null -eq $OU)
{
$OU="CN=Users,DC=de,DC=ing,DC=kus,DC=tb"
}
else
{
}