You can use Windows power shall command less to create modify and delete the user accounts.
You can use this.
Come on let's for individual operations or as part of a script to perform bulk operations.
Let's take a look at some of the commonly used command lads for managing user accounts.
We've got new a user which creates user account remove the user will delete to use a recurrence Saturday's
account password will resent the POS photo of a user account set ADR account expiration will modify
the expiration date of a user account there also unlock the account which will unlock a user account
when it's locked after exceeding the accepted number of incorrect sign in attempts and enable the account
which will enable a user account.
There is also a disable EDI account which will disable a user recall when you use the new ADA user command
led to create new user accounts.
You can set most user properties including a password so for example if you do not use the account password
parameter then no password to set and the user account is disabled.
You can not set the enabled parameter as true when no password was set said or if you use the account
password parameter to specify a password then you must specify a variable that contains the password
as a secure stream or choose to receive a prompt for the password a secure stream is encrypted in memory.
If you set a password then you can enable the user account by setting the enabled parameter as true.
Let's take a look at the commonly used parameters for the new ADA user command led account expiration
date.
It will define the expiration date of the user account account password defines the password for the
user account change password.
Log on will require the user account to change passwords at the next sign in department will define
the department for the user account home directory defines the location of the home directory for a
user account home drive will define the drive letters that map to the home director for a user given
name will define the first name for a user so name the last name and the face parameter will define
the O you or container where the user account is created the following command is an example of a command
that you could use to create a user account or as a prompt for a POS for new ADA user.
User name in double quotes parameter account password which will use the following information of the
password will use read host come on glad to get the password and converted a secure stream and also
the Department parameter which is I.T. in this case is the next lessons will have much more examples
of working with users with the help of power shall.