I am trying to achieve the result in image two below:
Image2:
I tried using a PowerShell foreach loop to loop through the users; but it is printing only the last user in the list.
I am trying to achieve the result in image two below:
Image2:
I tried using a PowerShell foreach loop to loop through the users; but it is printing only the last user in the list.
Copyright © 2021 Jogjafile Inc.


I used foreach to loop through the users, which allowed me to display them in separate rows, but my code takes a while to complete.
A snippet of the code is shown below.