1. We and our AD Partners use cookies to understand how you use our site, improve your experience and serve you personalized content and advertising. Learn how we use cookies in our cookie policy.By continuing to use this site, you accept these cookies. Learn More.

How to list all Local Users/Accounts on a Windows 10 machine Via Power shell?

Discussion in 'Windows 10 Tutorials' started by Jordan, Jan 4, 2017.

  1. Jordan

    Jordan Administrator Staff Member Administrator

    Messages:
    1,445
    Likes Received:
    2
    Trophy Points:
    38
    First you will need to open up power shell, They are numerous way to open Power Shell on your windows 10 machine.

    #1 Search for Powershell at startup

    upload_2017-1-4_19-6-15.png

    #2 Hit Win(flag key)+R

    Type in Powershell like below

    powershell windows 10 how to run.PNG

    #3 Final method open up a command prompt and type in powershell like below

    upload_2017-1-4_19-9-23.png


    To list all accounts on your Windows 10 device type in the following command:

    Get-localuser


    see screen grab below. All users listed including if their account is enabled or not and with a description

    upload_2017-1-4_19-12-40.png

    That is all

     
     
  2. Avatar

    Advertisement

Share This Page