@a.ef Is there a compulsion to use power shell? There are activities to fetch user info from AD. Check this link