Forum Discussion
ruancarloss
Nov 11, 2022Nimbostratus
the loop created works and thank you.
However I need only the CN value to be delivered.
enjoying your scenery, the script delivers:
* CN=testgruppe1,OU=grou.....
* CN=testgruppe2,OU=grou.....
would have to customize for the output to be:
* testgroupp1
* testgrouppe2
Thank you for your help
- Daniel_WolfNov 11, 2022MVP
The example below I had more or less ready for copy&paste.
I think you could use the trim command to customize the output to your desired format.Take a look here