1 00:00:06,440 --> 00:00:13,440 You can use Windows power shall command less to create modify and delete the user accounts. 2 00:00:13,490 --> 00:00:14,360 You can use this. 3 00:00:14,360 --> 00:00:22,150 Come on let's for individual operations or as part of a script to perform bulk operations. 4 00:00:22,160 --> 00:00:28,590 Let's take a look at some of the commonly used command lads for managing user accounts. 5 00:00:28,610 --> 00:00:38,060 We've got new a user which creates user account remove the user will delete to use a recurrence Saturday's 6 00:00:38,150 --> 00:00:47,480 account password will resent the POS photo of a user account set ADR account expiration will modify 7 00:00:47,480 --> 00:00:55,160 the expiration date of a user account there also unlock the account which will unlock a user account 8 00:00:55,160 --> 00:01:04,040 when it's locked after exceeding the accepted number of incorrect sign in attempts and enable the account 9 00:01:04,370 --> 00:01:06,800 which will enable a user account. 10 00:01:06,830 --> 00:01:15,840 There is also a disable EDI account which will disable a user recall when you use the new ADA user command 11 00:01:15,870 --> 00:01:18,750 led to create new user accounts. 12 00:01:18,770 --> 00:01:27,800 You can set most user properties including a password so for example if you do not use the account password 13 00:01:27,800 --> 00:01:33,500 parameter then no password to set and the user account is disabled. 14 00:01:33,500 --> 00:01:42,260 You can not set the enabled parameter as true when no password was set said or if you use the account 15 00:01:42,260 --> 00:01:49,580 password parameter to specify a password then you must specify a variable that contains the password 16 00:01:49,910 --> 00:01:58,820 as a secure stream or choose to receive a prompt for the password a secure stream is encrypted in memory. 17 00:01:58,850 --> 00:02:07,360 If you set a password then you can enable the user account by setting the enabled parameter as true. 18 00:02:07,370 --> 00:02:14,840 Let's take a look at the commonly used parameters for the new ADA user command led account expiration 19 00:02:14,840 --> 00:02:15,320 date. 20 00:02:15,320 --> 00:02:22,310 It will define the expiration date of the user account account password defines the password for the 21 00:02:22,310 --> 00:02:24,920 user account change password. 22 00:02:25,150 --> 00:02:33,990 Log on will require the user account to change passwords at the next sign in department will define 23 00:02:33,990 --> 00:02:41,060 the department for the user account home directory defines the location of the home directory for a 24 00:02:41,060 --> 00:02:49,190 user account home drive will define the drive letters that map to the home director for a user given 25 00:02:49,190 --> 00:02:58,100 name will define the first name for a user so name the last name and the face parameter will define 26 00:02:58,130 --> 00:03:05,840 the O you or container where the user account is created the following command is an example of a command 27 00:03:05,900 --> 00:03:13,410 that you could use to create a user account or as a prompt for a POS for new ADA user. 28 00:03:13,610 --> 00:03:21,910 User name in double quotes parameter account password which will use the following information of the 29 00:03:21,980 --> 00:03:30,620 password will use read host come on glad to get the password and converted a secure stream and also 30 00:03:30,890 --> 00:03:39,710 the Department parameter which is I.T. in this case is the next lessons will have much more examples 31 00:03:40,010 --> 00:03:44,360 of working with users with the help of power shall.