PowerView is a module within PowerSploit written in PowerShell to gain network situational awareness on Windows domains. The below command will query the Domain Controller for all domain users.
Command Reference:
Target IP: 10.10.10.1
Domain: test.local
Get-DomainUser -Domain test.local -DomainController 10.10.10.1