During an assessment I was able to get PowerShell on a box, but it was limited by the Domain Admins and it was not allowed to retrieve information about users from the domain.
net user /domain was not allowed and was returning the following error.
PS C:\> net user /domain The request will be processed at a domain controller for domain DOMAINNAME. System error 5 has occurred. Access is denied.
Because I wanted to go through the description field, in case a password is pasted there by accident, I remembered of this useful tool. After running the command below, it displayed the Windows LDAP query tool, which made the process really smooth. This tool can be also useful for red teaming exercises.