I've built a Powershell GUI to query AD. I have a dropdown (Test) which you can select from - this will then populate another dropdown (Objects) to show the objects listed under an OU container.
I then have a textbox which i want to type in to search the 2nd dropdown (Objects) - so if i have 10 objects (test1, test2, test10, test15, test20, test30, test40 etc) if i type "test1" it will only show test1, test10, test15
I did think about ......
$UsernameTextBox.Add_TextChanged(
{
#check $ObjectsComboBox and show filter result
#THIS IS THE BIT IM UNSURE ON!
}
)
Is there an easy way to do this or would i need a datagrid to filter the result
Thanks in advance. Hoping some can help