In an authorized test, a tester with a standard domain user session wants to learn which domain machines the current account already has local administrator rights on. Which cmdlet BEST fits?
Show the answer
Correct answerB. Find-LocalAdminAccess
AWhy not this: It runs shellcode in memory and does no domain enumeration or access checking.
BWhy this is right: It is the PowerView function that tests domain machines for local administrator access by the current user.
CWhy not this: It lists SQL Server instances found through SPNs, not machines where the user is a local admin.
DWhy not this: It audits a SQL Server instance for configuration weaknesses, not host-level admin rights across the domain.
Find-LocalAdminAccess is a PowerView function that checks domain computers to see where the current user has local administrator access. Get-SQLInstanceDomain is a PowerUpSQL function that lists SQL Server instances from SPNs and says nothing about local admin rights.