Good call! The if ($DName.TextLength -eq 0) { } worked perfectly. I was initially trying if ($DName.Text -eq $null) which wasn’t working.
↧
Good call! The if ($DName.TextLength -eq 0) { } worked perfectly. I was initially trying if ($DName.Text -eq $null) which wasn’t working.