PowerTip: Get a list of local Users in Windows 10 / Windows Server 2016
Summary: Use the cmdlets provided in PowerShell 5.1 to manage local user accounts on a system.
I remember having to use the Active Directory Service Interfaces (ADSI) accelerator to access a list of local users in PowerShell. Is there a cmdlet that could do this now?
Yes. In the most recent version of Windows 10 / Windows Server 2016 with PowerShell 5.1, you can run just one cmdlet to pull up a list of local users.