Vig - how about we meet half-way in the short term ? There are two .NET type methods for the ListBox that I can implement called the following:

Index = $ListBox.FindString(string)

Index = $ListBox.FindStringExact(string)

Think they are pretty self explainatory ... all you would have to do is construct a for-each-in loop, do a findstring and if not found, add it to the list ...

-Shawn

[ 22. September 2002, 18:45: Message edited by: Shawn ]