1 00:00:06,430 --> 00:00:09,910 Now let's talk about using Windows power shall come on let's. 2 00:00:09,910 --> 00:00:17,400 To manage computer accounts let's take a brief look at the coming lets himself in our possession we 3 00:00:17,390 --> 00:00:25,030 have got a new HD computer which will create new computer accounts they've got set a computer which 4 00:00:25,030 --> 00:00:32,800 modifies properties of computer accounts and other Come on let get a computer visual display properties 5 00:00:32,800 --> 00:00:40,870 of of computer accounts remove a computer will delete computer accounts test computer secure a channel 6 00:00:41,150 --> 00:00:48,130 this command that will verify or repair the trust relationship between a computer and the demand and 7 00:00:48,460 --> 00:00:53,280 reset computer machine password will reset the password for a computer account. 8 00:00:53,650 --> 00:00:58,870 Let's review this one liner you could type new Eddie computer Dash. 9 00:00:58,870 --> 00:01:01,410 Name Lorna sir we're eight. 10 00:01:01,480 --> 00:01:03,110 The name of the computer. 11 00:01:03,200 --> 00:01:11,980 Pass parameter specifying the parts of o you where this computer will be placed and enabled parameter 12 00:01:12,220 --> 00:01:15,100 which will equal to through the next command. 13 00:01:15,100 --> 00:01:19,590 You could use this test computer a secure channel just repair. 14 00:01:19,840 --> 00:01:27,040 So these are the examples how you could use the power shell to make your system administrator of life 15 00:01:27,040 --> 00:01:27,850 easier. 16 00:01:27,850 --> 00:01:32,380 Now let's review the new ADA computer command let in more detail. 17 00:01:32,380 --> 00:01:38,320 You can use this command led to create a new computer account before you joined the computer to the 18 00:01:38,320 --> 00:01:39,150 domain. 19 00:01:39,190 --> 00:01:46,750 You do this so that you can create the computer account in the correct or you before deploying the computer. 20 00:01:46,750 --> 00:01:49,600 Let's take a look at the parameters. 21 00:01:49,630 --> 00:01:54,220 We've got named parameter pass parameter and enabled parameter. 22 00:01:54,370 --> 00:02:01,450 The name defines the name of the computer account past defines or you or container or where the computer 23 00:02:01,450 --> 00:02:09,550 account is created and enabled defines whether the computer account is enabled or disabled by a default 24 00:02:09,550 --> 00:02:16,810 the computer account is enabled and a random password is generated and the command center I've already 25 00:02:16,810 --> 00:02:21,740 mentioned is test computer a secure channel with a repair parameter. 26 00:02:21,750 --> 00:02:27,130 It'll repair a lost trust relationship between a computer and a domain. 27 00:02:27,130 --> 00:02:32,730 You must run the command led on the computer there's a lost trust relationship. 28 00:02:32,770 --> 00:02:37,270 Now some words about power shall come on lads to manage or use. 29 00:02:37,270 --> 00:02:38,840 So with the help of this. 30 00:02:38,860 --> 00:02:39,840 Come on let's. 31 00:02:39,850 --> 00:02:49,750 You can create an you or you attempt to remove the all you why term because it could fail due to protection 32 00:02:49,750 --> 00:02:51,880 from accidental deletion. 33 00:02:51,880 --> 00:02:59,470 And of course you can said this protected from accidental deletion parameter to true or false. 34 00:02:59,470 --> 00:03:06,790 Of course you can modify delete or use and you can use this command lets for individual operations or 35 00:03:06,790 --> 00:03:10,630 as part of script to perform bulk operations. 36 00:03:10,690 --> 00:03:18,340 Let's review the following list of command let's say that you can use to manage or use new ADR organizational 37 00:03:18,340 --> 00:03:28,440 unit will create or use set ADR organizational unit will modify properties so for use and get ADR organizational 38 00:03:28,450 --> 00:03:37,040 unit will display properties of 0 use and of course remove idea organizational unit will delete or use. 39 00:03:37,070 --> 00:03:44,030 Now let's review the new ADR organizational unit command left which will help you to create a new or 40 00:03:44,030 --> 00:03:50,050 new to represent departments or physical locations within your organization. 41 00:03:50,050 --> 00:03:57,460 Here are the commonly used parameters for the new organizational unit command lat name parameter will 42 00:03:57,460 --> 00:04:05,980 define the name of the new or you best will define the location of the new you and protect it from accidental 43 00:04:05,980 --> 00:04:14,620 deletion will prevent anyone from accidentally deleting the Oyu the default value is true. 44 00:04:14,620 --> 00:04:21,080 Now let's take a look at the following example that you could use when you want to create a new oyu 45 00:04:21,490 --> 00:04:31,300 new ADR organizational unit name sales path and the path to the 0 to the container contained in your 46 00:04:31,350 --> 00:04:33,410 o you inactive director. 47 00:04:33,570 --> 00:04:42,520 In this case it's placed in market in you aren't in a danger of dot com domain and protected from accidental 48 00:04:42,520 --> 00:04:46,720 deletion parameter which is equal to true.