Get-LocalUser

noun

say it: “GET LOH-kul YOO-zur” /ˈɡɛt ˈloʊkəl ˈjuzɚ/

A PowerShell command that lists the user accounts kept on one Windows PC and whether each can be used to sign in.

What does Get-LocalUser do?

Get-LocalUser lists the accounts kept on this PC itself: yours, the people you share it with, and the built-in ones Windows ships turned off. Enabled says whether anyone can sign in with an account. It only looks.

Get-LocalUser -Name Administrator, Guest
# Name          Enabled Description
# Administrator False   Built-in account for administering the computer/domain

In a sentence

  • “Get-LocalUser showed that Windows' built-in Guest account was turned off.”
  • “Run Get-LocalUser with no name to see every account on the family laptop.”

Level: Apprentice · More PowerShell terms at this level

Updated