On Linux there are, again, no native PowerShell cmdlets available to create and manage local accounts. However, PowerShell can still be used to securely pass credentials to OS commands, generate hashed user passwords, and so on. In this recipe, you will use PowerShell Core to help create user accounts in Linux as well, to get you started with cmdlet development when no cmdlets exist.
Creating Linux accounts
Getting ready
Install and start PowerShell Core.
How to do it...
Please perform the following steps:
- First of all, let's see if there already is a command available...