WEBVTT

00:00.340 --> 00:05.910
Add in computer accounts to groups is no different than at any users.

00:05.940 --> 00:11.370
All you need to do is just replace the username with the computer account name.

00:11.490 --> 00:21.070
The only thing you need to do is add the suffix dollar symbol to the computer name while attempting

00:21.390 --> 00:26.230
Dushan to a single computer account to with security group.

00:26.350 --> 00:36.870
The following command address the group member identity test group members lappers Cerebus dollar symbol

00:37.140 --> 00:38.230
in quotes.

00:38.340 --> 00:45.870
You need to specify whatever name you need for a computer in this code you might wonder why this dollar

00:45.870 --> 00:49.110
sign should be used to launch with the computer name.

00:49.110 --> 00:50.450
This is simple.

00:50.520 --> 00:58.110
In Active Directory each computer same account name is stored in the same form a checksum account name

00:58.160 --> 00:59.820
of a computer.

00:59.910 --> 01:02.320
You could use the following command.

01:02.460 --> 01:04.620
Get say the computer.

01:04.700 --> 01:12.690
I tend to do Leppert sort of with three for example and pipe it to select same account name and as you

01:12.690 --> 01:20.170
can see the output is is Dolor character for computer account.

01:20.310 --> 01:24.090
So why add computers to security groups.

01:24.120 --> 01:25.560
Many organizations.

01:25.560 --> 01:34.110
Great group boluses and Targett them to list computer names by add their computer accounts to a security

01:34.110 --> 01:39.600
group and granting supply permissions to that group alone.

01:39.750 --> 01:47.340
Similarly sized groups based on their computer accounts are used for tasks such as software deployments

01:47.640 --> 01:55.710
performance reboots schedule and jobs and so on computer accounts can be added to security groups based

01:55.710 --> 01:59.050
on certains Drian in their name.

01:59.160 --> 02:06.090
For example each organization will have a name and standard for instance all test computers might have

02:06.090 --> 02:10.320
a stream text somewhere in their name and production.

02:10.320 --> 02:14.170
Good heavens string such as brought in their name.

02:14.190 --> 02:23.600
In such cases if you would like to automatically add alter servers to one security group and all Prosser's

02:23.790 --> 02:30.900
to another security group you can utilize the following simple example and adjusted the code in your

02:30.900 --> 02:31.580
needs.

02:31.680 --> 02:32.780
So to do this.

02:32.880 --> 02:35.160
First let's freeze the computers.

02:35.160 --> 02:45.150
Just test the name to a variable called Dolor character test servers and told computers brought their

02:45.150 --> 02:48.240
name to a dollar character broadswords.

02:48.310 --> 02:52.180
We can do this by your get dash Haidee computer.

02:52.180 --> 02:56.250
Come on let the filter as shown in this command.

02:56.370 --> 03:03.720
So wearable tech service is equal to getting the computer filter name should look like.

03:03.720 --> 03:09.560
Test in and out it goes the same for production computers.

03:09.590 --> 03:15.510
There should be brought in the name for these searching criteria.

03:15.510 --> 03:17.860
Or better to say filtering criteria.

03:17.990 --> 03:25.620
Once this variables are populated with the computer records so we can add them to the designated groups

03:25.620 --> 03:26.730
by using them.

03:26.850 --> 03:35.130
At this age the group members come and left as shown in the folder in command until we pass it to the

03:35.130 --> 03:36.680
members parameter.

03:36.810 --> 03:44.440
So to add all their computers to the test group will use the following command.

03:44.710 --> 03:47.240
Ada group member identity.

03:47.250 --> 03:53.800
All test servers and members of this group will bear the results.

03:53.820 --> 04:02.400
Or better to say the contents of the test servers referable and the same goes for production servers

04:02.630 --> 04:09.110
will populate group all broadswords the broad servers referable.

04:09.240 --> 04:17.820
So after running these commands all your test computers should be added to the Altez server security

04:17.820 --> 04:26.280
group and all the production servers should be added to the all broths service securit to grow the membership

04:26.280 --> 04:31.180
of these groups can be viewed by the get a group member.

04:31.180 --> 04:40.830
C'mon let let's run it and test and check all the members of their test computers so production computers

04:41.090 --> 04:43.180
get a degree to come and lead.

04:43.200 --> 04:53.970
So it's a good hand to have the users saw computers that you want to add them to wearable and then you

04:53.970 --> 04:56.040
just need to pass it to them.

04:56.100 --> 05:01.630
At the end the group members come and lead to to the required group.
