WEBVTT

00:00.450 --> 00:07.320
Improvers sections they've talked about operational tasks that can be performed on user accounts and

00:07.320 --> 00:10.190
have active directory use in power.

00:10.190 --> 00:19.500
So this lessons focus on performance similar operations on computer objects managing computer objects

00:19.500 --> 00:23.010
is not much different from managing user objects.

00:23.010 --> 00:25.410
All you need to do is to use the correct.

00:25.410 --> 00:29.940
Come on lads and the rest of the process remains the same.

00:29.940 --> 00:37.380
We'll be talking about the following topics greed in computer accounts modifying computer properties

00:37.680 --> 00:42.970
enabling or disabling computer accounts deleting computer accounts.

00:43.080 --> 00:46.140
Let's start with creating computer records.

00:46.170 --> 00:53.290
Most system administrators do not create computer accounts manually in Active Directory.

00:53.460 --> 01:01.590
Instead légion computers to the domain and the account gets created automatically after a automatic

01:01.590 --> 01:09.000
object creation the administrator moves the computer accounts from the default container to the desired

01:09.100 --> 01:10.000
o you.

01:10.050 --> 01:18.370
It looks quite simple but why is there a need to create a manual computer account previously mentioned

01:18.420 --> 01:26.840
approach will work for smaller organizations where one set of system administrators will manage Everest

01:27.060 --> 01:35.610
and they will have all privileges but in large organizations their desktop or server builds happen in

01:35.610 --> 01:44.760
an automated way use and deployment solutions such as Windows deployment services where the build process

01:44.760 --> 01:52.890
looks for computer account in Active Directory to join the server desktop to the domain.

01:52.890 --> 02:00.800
This process is called pre-stage and of computer accounts and it has a good set of advantages such as

02:00.860 --> 02:08.310
Q And they owe you where you want to place the computer group membership and so on.

02:08.310 --> 02:17.180
So let's now look at a few examples of great a computer account active directory provides a common let's

02:17.350 --> 02:23.670
called new Adey computer to facilitate the computer account creation.

02:23.700 --> 02:30.870
The following command will create a computer account with a name like passerby or three or some other

02:30.870 --> 02:34.170
name in the default computer container.

02:34.170 --> 02:35.870
So let's run it new.

02:35.930 --> 02:45.060
There's a computer Desch name Leppert So we won or Lepper servus 3 whatever server you need to add and

02:45.060 --> 02:52.170
pass through parameter to create computer account in a particular organizational unit.

02:52.170 --> 02:56.090
In Active Directory we could use the following command.

02:56.100 --> 03:02.640
New dash 80 computer Desch name ALAP possessory and pass to these.

03:02.880 --> 03:06.870
You in which we want to create the computer account.

03:07.020 --> 03:17.620
For example computers which is SOP over you of production over you and in Cantore Sadat gone the.

03:17.790 --> 03:24.270
And of course path through parameter to see the results ensure that all you manage the.

03:24.450 --> 03:30.180
And this example command exists prior to the computer account creation.

03:30.360 --> 03:33.300
If not the command execution fails.

03:33.300 --> 03:39.600
Another example when you want to create a computer account but keep it in a desirable state.

03:39.600 --> 03:42.880
You could use the following command as an example.

03:42.930 --> 03:47.600
New this a computer Desch name Desch path.

03:47.760 --> 03:49.840
You should try the best to this.

03:49.870 --> 03:58.790
All you in the computer will be located thus enabled Dolor character falls and pass through parameter.

03:58.920 --> 04:07.950
So in this example the Enable parameter which is set to false is responsible for disabling the computer

04:07.950 --> 04:08.700
account.

04:08.880 --> 04:14.560
Of course to see a list of all the options for this command Latin's some examples.

04:14.640 --> 04:20.370
You could read it's complete help can't and this can be done to you then the following command.

04:20.370 --> 04:25.230
Get help new desk a computer desk full or Desch.

04:25.230 --> 04:33.020
Examples are this online if you want to read online updated help on this command let.

04:33.030 --> 04:37.300
Now let's move on and talk about modifying computer accounts.

04:37.440 --> 04:44.820
Computer account attributes often need to be modified for example because many computer accounts are

04:44.820 --> 04:50.140
created before the computers are actually assigned to users.

04:50.400 --> 04:59.670
Attributes such as description department and location can cannot be configured at the same time of

04:59.830 --> 05:07.600
an account creation in addition to the ownership of a computer can be transferred to a new user or a

05:07.600 --> 05:15.770
new department or a computer might be physical and moved to your location in such circumstances that

05:15.820 --> 05:19.260
computer account attributes need to be modified.

05:19.270 --> 05:26.590
So let's see how to do it in Power Shell use in various command lets available for computer objects.

05:26.590 --> 05:33.640
As for setting the description of a computer account active directory power sharing modules has the

05:33.640 --> 05:41.980
SAT desk a computer come and left for modifying computer account properties in Active Directory.

05:41.980 --> 05:49.390
Remember that said there's a user come and let me use that to modify user object properties.

05:49.390 --> 05:56.230
It is similar to that but for computer accounts to update the description of a single computer you can

05:56.230 --> 05:58.140
use the following command.

05:58.210 --> 06:06.070
This example updates the description of the lappets or two for example computer object.

06:06.070 --> 06:14.850
So it looks like that said there's a computer Desch identity lappets there'll be one or two.

06:15.010 --> 06:23.310
I've got three of them in my lap and description property and we have to type the description in quotes.

06:23.410 --> 06:32.030
For example mamber server or web server or whatever description you need to update their search.

06:32.030 --> 06:35.500
Does any computer command Let has the ability to search.

06:35.520 --> 06:41.800
Well yes for the majority of object attributes to see the list of attributes.

06:41.830 --> 06:46.370
It can set Chicot's help content here than the following command.

06:46.540 --> 06:47.840
Get help.

06:47.950 --> 06:49.810
Or just help set.

06:49.840 --> 06:53.740
There's 80 computer desk full or examples.

06:53.740 --> 07:01.610
You can you get there's a computer command to check if the description is set for whatever server you

07:01.610 --> 07:02.200
need.

07:02.350 --> 07:11.200
So for this you should type out there's a computer lab passerby or one Desch property description.

07:11.200 --> 07:18.520
Now let's talk about move computer accounts to different all you sometimes you might need to move computer

07:18.520 --> 07:27.790
accounts to different oh use as the user might change the location or server accounts in order to segregate

07:27.790 --> 07:36.700
them according to their roles or you might want to move computer accounts from the default IOU to respective

07:36.760 --> 07:38.980
office location or use.

07:39.160 --> 07:44.170
Let's see if your examples are related to a computer account.

07:44.320 --> 07:54.140
Movements across organizational units as we've done for user accounts here too we can make use of their

07:54.230 --> 07:54.680
move.

07:54.690 --> 08:03.140
There's a the object come and left to move computer accounts from Bhanot you to another foreign command

08:03.190 --> 08:12.700
moves are there lapper sort of the one computer account from the default computer container to computers

08:12.790 --> 08:15.950
or were you inside production or were you.

08:16.090 --> 08:24.420
So the command looks like let move there's a the object there's identity will be move in LA possessory

08:24.520 --> 08:33.480
which is located in computers in the control so dot com the man and trm will be moving it to the Targett

08:33.490 --> 08:34.240
path.

08:34.240 --> 08:40.440
So here we have to specify the path where we are moving the computer to.

08:40.630 --> 08:47.310
In this case it's computers which is SOP over you of production over you.

08:47.390 --> 08:54.900
And it's also in control so dot com domain and of course pass through parameters to see the results.

08:55.060 --> 09:02.860
Since it's not possible to provide the full distinguished name of the object we want to move every time

09:03.130 --> 09:05.110
we can either use it get.

09:05.120 --> 09:14.950
Does any computer or search Desch a call and come and let to sort by its name or some other property

09:15.220 --> 09:23.080
and then pass to pass the output to move does the object come and lead.

09:23.290 --> 09:26.350
And the example for that is here.

09:26.500 --> 09:37.210
Get a computer does filter the name should be equal to allow passerby warm and pipe it to move the object

09:37.510 --> 09:46.370
with the Targett POS parameter of the target POS will look like that computer's production contorts

09:46.380 --> 09:49.360
or dot com and pass through parameter.

09:49.360 --> 09:57.910
Similarly the search for a string and the description of the computer objects and move them to the designated

09:57.960 --> 10:07.160
0 you are using the following command get a computer filter the description should look like server

10:07.420 --> 10:14.480
or S or V Pypard to move the object and Targett pause for that.

10:14.480 --> 10:21.500
This command will look for computer accounts that have this dream server in their description and we'll

10:21.500 --> 10:24.890
move them to the designated over you.

10:24.890 --> 10:32.510
Similarly you can search based on any other criteria and move them to different or we use.
