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 !
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!
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