I know I have done this plenty of times before but I cannot get it to work today.
I have a textbox that I populate with items from Active Directory. I want the selected item to show up in another (single line) text box.
I attempted something like the following:
$selectedGRP = $txtbGrpUsers.SelectedText
$StringText = $selectedGRP.ToString()
$textbox2.Text = $StringText
But this does not work for me... Code complete doesnt even like "selectedtext" which is what I found when doing google searches searching for help on this. I know this is super rudimentary and apologize for bugging the collective with it.
Thanks for your help!