1
00:00:00,140 --> 00:00:01,100
[Autogenerated] So what are some of the

2
00:00:01,100 --> 00:00:04,610
common tasks that we would want to perform

3
00:00:04,610 --> 00:00:07,700
using SIM? Well, first off, it would be

4
00:00:07,700 --> 00:00:09,760
retrieving information from the Windows

5
00:00:09,760 --> 00:00:11,960
clients and servers. Information about

6
00:00:11,960 --> 00:00:14,970
processes, information about hardware,

7
00:00:14,970 --> 00:00:16,480
etcetera. We would probably want to

8
00:00:16,480 --> 00:00:20,440
utilize that. Maybe we also want to set

9
00:00:20,440 --> 00:00:23,200
values such as registry keys within the

10
00:00:23,200 --> 00:00:25,340
Windows clients and servers. That's

11
00:00:25,340 --> 00:00:26,800
actually quite a common one. Sets, um,

12
00:00:26,800 --> 00:00:29,040
registry values. Then, of course, we may

13
00:00:29,040 --> 00:00:32,650
want to start Stop restart services within

14
00:00:32,650 --> 00:00:35,170
those Windows, clients and servers. So

15
00:00:35,170 --> 00:00:37,430
three call common tasks, retrieve

16
00:00:37,430 --> 00:00:40,510
information, set values and then start

17
00:00:40,510 --> 00:00:43,780
Stop, restart, etcetera. So what are some

18
00:00:43,780 --> 00:00:45,980
of the common computer information that we

19
00:00:45,980 --> 00:00:48,140
would want to retrieve? Well, firstly,

20
00:00:48,140 --> 00:00:51,770
disk information, petitions, hard drives,

21
00:00:51,770 --> 00:00:55,870
etcetera, process information. CPU cause,

22
00:00:55,870 --> 00:00:58,760
etcetera, memory information and which ram

23
00:00:58,760 --> 00:01:00,560
hand, which runs being used. And then, of

24
00:01:00,560 --> 00:01:03,370
course, basic operating system information

25
00:01:03,370 --> 00:01:07,390
such as versioning, whether it's 32-bit or

26
00:01:07,390 --> 00:01:09,710
64-bit, just information that you would

27
00:01:09,710 --> 00:01:13,460
want to retrieve. So how do we find the

28
00:01:13,460 --> 00:01:15,980
same and win 32 classes? Because, of

29
00:01:15,980 --> 00:01:17,770
course, as we've gone through this, we've

30
00:01:17,770 --> 00:01:21,350
looked at using Win 32 just kind of gets

31
00:01:21,350 --> 00:01:23,390
him instantiate retrieve some values back,

32
00:01:23,390 --> 00:01:25,840
but how do we find them? What to do? This?

33
00:01:25,840 --> 00:01:28,280
We launch PowerShell terminal we can, then

34
00:01:28,280 --> 00:01:30,780
choose Get Sim instantiate. Neither pass

35
00:01:30,780 --> 00:01:34,640
win 32 Underscore or Sim Underscore

36
00:01:34,640 --> 00:01:36,580
we can. Then press the control plus the

37
00:01:36,580 --> 00:01:39,510
space in the PowerShell terminal. Select

38
00:01:39,510 --> 00:01:42,330
yes, and then we can review the list of

39
00:01:42,330 --> 00:01:44,800
returned classes. So there's a way of

40
00:01:44,800 --> 00:01:47,000
doing it here, which will actually help

41
00:01:47,000 --> 00:01:49,270
you to identify the classes that you're

42
00:01:49,270 --> 00:01:53,330
looking for now to retrieve Sim

43
00:01:53,330 --> 00:01:56,080
information. Locally, What we can do here

44
00:01:56,080 --> 00:01:58,810
is simply, just say, gets him instantiate

45
00:01:58,810 --> 00:02:01,190
and pass the class name. Now you'll notice

46
00:02:01,190 --> 00:02:04,220
that the Win 32 SIM versions are almost

47
00:02:04,220 --> 00:02:07,230
identical, except the prefix obviously win

48
00:02:07,230 --> 00:02:10,880
32 verses. Sim. If I want to retrieve

49
00:02:10,880 --> 00:02:13,310
processing information once again, it's

50
00:02:13,310 --> 00:02:16,550
almost identical. Both will retrieve the

51
00:02:16,550 --> 00:02:19,490
same information. I could do the same with

52
00:02:19,490 --> 00:02:22,460
physical memory if I wanted to, or the

53
00:02:22,460 --> 00:02:25,470
operating system. So I can either use when

54
00:02:25,470 --> 00:02:29,230
32 or Sim. Ideally, if we utilizing Sim,

55
00:02:29,230 --> 00:02:31,740
you're just prefix it a sim underscore and

56
00:02:31,740 --> 00:02:34,000
then use the name that would be valid for both

