Quantcast
Channel: Windows Wide Open
Viewing all articles
Browse latest Browse all 3110

PowerTip: Get a list of local Users in Windows 10 / Windows Server 2016

$
0
0

Summary: Use the cmdlets provided in PowerShell 5.1 to manage local user accounts on a system.

Hey, Scripting Guy! Question 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?

Hey, Scripting Guy! Answer 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.

Get-LocalUser

The Doctor

Hey, Scripting Guy! Blog

The post PowerTip: Get a list of local Users in Windows 10 / Windows Server 2016 appeared first on Windows Wide Open.


Viewing all articles
Browse latest Browse all 3110

Trending Articles