What are the PowerShell command syntax that could be used to create a new user?
Although the concept of multiple users sharing one device or one PC is getting rarer by the day, there are still cases when you have to share PCs. In such a situation, it is useful to have multiple user accounts on a single PC. Recently, we saw how to create a new user account in Windows 10. Sometimes it can be useful to create a user account with PowerShell. Here is how it can be done. Advertisement In modern Windows versions, you usually have a number of system accounts for various services and internal Windows tasks, plus a hidden Administrator account and your personal account. If you need to share your PC with family members or other people, it is a good idea to create a dedicated user account for each person. This increases security and privacy of the OS and allows you to keep your sensitive data private and your settings personalized to your taste. PowerShell is an advanced form of command prompt. It is extended with a huge set of ready-to-use cmdlets and comes with the ability to use .NET framework/C# in various scenarios. Here is how to use it to create a new user account. Before proceeding, ensure that your user account has administrative privileges. We will use a special cmdlet, New-LocalUser. The New-LocalUser cmdlet creates a local user account. This cmdlet creates a local user account or a local user account that is connected to a Microsoft account. To create a User Account in Windows 10 with PowerShell, do the following.
That's it. Articles of interest:
RECOMMENDED: Click here to fix Windows issues and optimize system performance Support us Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options: If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support! Advertisment Author: Sergey TkachenkoSergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube. View all posts by Sergey Tkachenko |