Hey,
I'm seraching for a solution to filter text out of the active Directory infofield.
I read the field via: $ADVariable.info
Result is a lot of text which starts with: [example]123456 [uninteresting]xyz [uninteresting]xyz
So I Need to filter the numbers after [example], after the numbers is a free space which could the condition to stop filtering. The number is different in each info field, so I wasn't able to do it with the select-string cmdlet and compare somethin.
Any idea?
thanks!!