ok. Perhaps it was a poor job explaining on my part.
so we have a var called $hardPath. E.g \\test
So what I would like to do is build an array of any sub directories within $hardPath. E.g $hardPath\foo\bar
So then the array would contain foo, and bar.
Does that make sense?