Hi,
If I have a users SamAccountName how can I look up their domain? Once I get their domain I can return results in the format of <Domain>\<SamAccountName>
I already have the PowerShell needed using cmdlet (Get-ADGroupMember) to list out the SamAccountNames but am struggling in getting the domain.
Thanks in advance for help on this.
Cheers!