Software-OK
≡... News | ... Home | ... FAQ | Impressum | Contact | Listed at | Thank you |

  
HOME ► Faq ► FAQ - Windows cmd.exe Command-Prompt ► ««« »»»

Is my Windows User a Microsoft Account or a Local command line query!


It is practical and easy to determine from the command line in PowerShell: whether there is a Microsoft Account or is a Local Account on Windows 11, 10, ... !



Using PowerShell to query under Windows 11, 10, ... or MS Server 2022, 2019, .... whether the Windows account is a Microsoft account or a local account is sometimes faster than using the user account management !

Contents:

1.) ... Querying the account type via MS Powershell
2.) ... Further links to Windows users!


See also: ►►  Windows 10 with and without Microsoft account!

1.) Querying the account type via the MS Powershell

1. Windows + R shortcut

2. Enter PowerShell

3. Username with the command whoami query
PS: Optional with the command "net user" all user names list

4. Now the command to query:
Get-LocalUser -Name 'User' | Select PrincipalSource  (confirm with Enter)

(... see Image-1 Point 1 to 3) 

PS:
In the place of  username,  enter your username and the status will appear, whether it is a Microsoft account or a local user. If it is a local account, Local will appear, if not "MicrosoftAccount" 

(Image-1) Is my Windows account a Microsoft or a local command line account!
Is my Windows account a Microsoft or a local command line account!

-
▲ Back to the top ▲


2.) More links to Windows users!

See also:

► Create and manage user accounts in Windows 10 !
► Make the  Windows 10 standard user account a guest user !
► Manage, add or remove users in Windows 8.1 / 10 !









FAQ 90: Updated on: 7 August 2021 14:49 Windows
Windows-Console

Information about a specific user account via cmd.exe or PowerShell!


Under MS Windows 11, 10, Desktops and MS Server, information on a specific user account can be obtained quickly via the command line Important user
Windows-Console

Change the workgroup / PC name using the command prompt or PowerShell!


Changing workgroup or PC name using Command Prompt or PowerShell is om MS Windows 11, 10, and MS Server OS Is not impossible either, this is often used
Windows-Console

Query the Mac address via the command line (CMD)!


You can find out the mac address physical address of a computer with the getmac command on Windows 11, 10, etc. This can also be used to get the Mac
Windows-Console

Find out the computer name via the command prompt or Powershell!


Its easy to find out the computer name using the command prompt or Powershell commands on Windows 11, 10, etc. You can determine your computer name
Windows-Console

Understand the shutdown command under MS Windows!


The Shutdown command under MS Windows 11, 10, . + MS Server is one of the most popular PC shutdown or restart command lines To use the command line,
Windows-Console

Activate and deactivate Remote Desktop via command line!


Its easy to enable and disable Remote Desktop from the command line on MS Windows 11, 10, etc. and Server OS The remote desktop can be turned off,
Windows-Console

Find out with PowerShell what is preventing shutdown and standby!


It is easy to find out with PowerShell which app or program is preventing shutdown, standby or hibernation on Windows 11, 10, etc. With all Microsoft

»»

  My question is not there in the FAQ
Asked questions on this answer:
  1. I want to use PowerShell to determine whether the Windows 10 or 11 account is a Microsoft account or a local account?
Keywords: windows, 11, 10, console, account, microsoft, local, command, line, determine, powershell, query, Questions, Answers, Software




    

  + Freeware
  + File management
  + Decoration and fun
  + Automation
  + Office
  + Order on the PC
  + PC testing tools

  + SoftwareOK Pages
  + Micro Staff
  + Freeware-1
  + Freeware-2
  + Freeware-3
  + FAQ
  + Downloads

  + Top
  + Desktop-OK
  + The Quad Explorer
  + Don't Sleep
  + Win-Scan-2-PDF
  + Quick-Text-Past
  + Print Folder Tree
  + Find Same Images
  + Experience-Index-OK
  + Font-View-OK


  + Freeware
  + AlwaysMouseWheel
  + NewFileTime
  + DesktopClock3D
  + PointerStick
  + DesktopImages3D
  + WinPing
  + GetPixelColor
  + StressMyPC
  + DesktopSnowOK
  + PAD-s

Links:
ButtonOK.com

Home | Thanks | Contact | Link me | FAQ | Windows 2021 | Windows 10 | English-AV | Impressum | Translate | PayPal | PAD-s

 © 2022 by Nenad Hrg softwareok.de • softwareok.com • softwareok.com • softwareok.eu
0.078


► Cannot delete a folder merged with PowerQuest Partition Magic 8.0? ◄ ► How can I insert symbols from unicode character set in Facebook with QuickTextPaste? ◄ ► The photo reduction tool is in wrong language / translate! ◄ ► Large menu with touchscreen on Windows 11! ◄ ► Show folder size and print directory content in MS Windows all OS! ◄ ► Duplex with non-duplex scanners, improved sorting for print out! ◄ ► Keep the shift key pressed and edit the command! ◄ ► Can I use the picture reduction tool on Windows 11? ◄
This website uses cookies to ensure you get the best experience on our website more Infos & Privacy Policy
....