???????????????? ???????? ?????????? Windows (WMI) - PowerPoint PPT Presentation

About This Presentation
Title:

???????????????? ???????? ?????????? Windows (WMI)

Description:

... Active Directory Service Interface (ADSI) ... – PowerPoint PPT presentation

Number of Views:37
Avg rating:3.0/5.0
Slides: 39
Provided by: AR83
Category:
Tags: wmi | adsi | windows

less

Transcript and Presenter's Notes

Title: ???????????????? ???????? ?????????? Windows (WMI)


1
???????????????? ???????? ?????????? Windows (WMI)
  • ???? ???????????? ???????
  • ?????????? ????????????????? ??????????????
    ??????

??????? ?????????????? ??????? ????? ??????????
??
2
????? ??????
  • http//www.script-coding.info/WMI.html
  • http//www.osp.ru/win2000/2001/05/174893/
  • http//www.script-coding.info/filez.html

3
???????????????? ???????? ?????????? Windows (WMI)
  • WMI ???? ?? ??????? ?????????? Microsoft ???
    ????????????????? ?????????? ? ???????? ??
    ??????? ????????? ?????? ???????????? ???? ???
    ??????????? Windows.

4
  • WMI ?????????? ?????? ????? ???????????????
    Windows, ? ????? ????????????? ????????????
    ???????????.
  • ?????????? WMI - ??? ?????????? ?????? ??????????
    ???????????? ?? ???? Web (Web-Based Enterprise
    Management, WBEM), ??????? ? ???? ???????
    ??????????? ??? ??????? ?? ?????? ????????
    Microsoft, ?? ? ?????? ???? ?????? ????????.

5
  • ??????? WBEM ???????? ?????????? ????? ??????????
    ?????????? ?????????? ?????????????? ??????
    ???????????, ??????? ?? ??????? ?? ???????????
    ????????????, ??????? ??????????????,
    ???????????? ???????, ???????? ??????? ? ?.?.
  • ? ?????? WBEM ???? ?????????? ????? Common
    Information Model (CIM), ??????? ????????????
    ????????? ???????????? ??????? ? ???? ??????
    ??????????? ????????-??????????????? ?????? ?
    ?????????????? ? WMI.

6
  • ????? ???????????????? ?????? ? WMI ? ???????
    ????????? Windows Script Host (WSH), ?????????
    ??? ???? ????????? ? WMI ? ??????
    ActiveX-?????????? (????????, ActiveX Data Object
    (ADO) ??? ??????? ? ????? ?????? ??? Active
    Directory Service Interface (ADSI) ??? ?????? ??
    ???????? ?????????), ??????? ????? ??????? ??????
    ? ??????? ?????????? ??? ??????????
    ?????????????? ? ????????????.

7
  • ?????????? WMI ??????????? ??? ???? 32-?????????
    ?????? Windows, ??????? ? Windows 95 OSR 2 ?
    ?????????? Windows Server 2003.
  • ? ???????????? ???????? Windows Me/2000/XP ?
    Windows Server 2003 ??????? ??????????????
    ????????? WMI ?? ?????????, ????? ???
    ????????????? ???? WMI ?????? 1.5.
  • ??? ???????????? ?????? Windows 9x/NT ??????????
    ???????? ???? WMI ?? ?????? 1.5. ??????????? ???
    ????? ?????????????? ???? wmicore.exe ?????
    ??????? ? ??????? Microsoft.

8
  • ???????? ??? ??????? ? ??????????? Windows 2000
    ????? WMI

9
  • Microsoft ??????????? WMI ?? ?????? ??????????,
    ???????? ? ???????????? Web-based Enterprise
    Management
  • WBEM, ?????????? ???????????? ?? ?????? ???????
    (???) ??????????

10
  • WBEM ????????????? ?? ??????? ???????? ????? ?
    ????????????? ??????????????? ? ???????????
    ?????????? ? ????????????? ?????, ??????????
    ???????????? ?? ????????? ??????????? ?
    ???????????? ?????????????? ?????????????
    ?????????, ???????????? ??????? ? ??????????????
    ??????? ? ???????????? ????? ?????????
    ???????????? ????????????? ????????? ??,
    ??????????????? ?????????? POSIX.

11
  • ?????????? WBEM ?????????? ???????? ????????
    ????? ??? ???????? ?????????????????, ???????????
    ?? ???????? ????????????????? ???? ? ?????? ? ??
    ????? ????????? ??????????, ? ????? ????????????
    ????????????? ??? ???????????? ?????????? ?
    ??????????.
  • Microsoft ????????????? ?????????? WMI ??????? ?
    1996 ????.

12
  • WMI ???????? ????????? ??? ????????????????
    ????? Windows, ????? ???
  • ?????? ?????? ? ????????? ??????? ??????? Active
    Directory,
  • ?????? ????????????, ???????? ? MMC
  • ???????? ????????????? ??????? ?????????
    Microsoft Script Host (WSH).

13
  • ?????? WMI ????? ???????????? ? ????????? ?
    ??????????? ?????? ??????????? COM, WMI
    ???????????? ?????????????.
  • ??????? ????????? ??? ????????? ?????? Visual
    Basic VBA VBS (Visual Basic Script) MS
    Jscript Perl.

14
?????? ?? ??????
  • ????????? ???????? ?????????? ??????? ??
    ???-????? ?????????? MSDN. ????? ?????????????
    ??????????? WMI Reference ?? ????????
  • http//msdn.microsoft.com/library/default.asp?url
    /library/en-us/wmisdk/wmi/wmi_eference.asp?framet
    rue.
  • ????? ??????? ?????? WMI, ???????????
    ???????????? ????????? WMI ? LPAD-??????? ?
    ???????? Active Directory.

15
  • ????? ????????? WMI

16
  • ???????? ???????? CIM (Common Information
    Model Object Manager, CIMOM)
  • ???????????? ????????? ???? ???????? ????????
    ?????????? ? WMI ? ???????? ?????????? ?? WMI ?
    ???????? ???????????.
  • ??? ?????????? WMI ?????? ???? ???????????????? ?
    ??????? CIMOM ??? ??????????? ???????????????
    ?????????? ?? ????????? ?????????? ???????? ?
    ??????? ??????????.

17
  • ???????????????? CIMOM ???????????? ????
    winmgmt.exe, ??????? ????????? ? ????????
    SystemRoot\System32\Wbem\. ???? ????
    ??????????? ??? ??????.

18
??????????? (????????? ???????) CIM
  • ???????-?????????? ????? ??????? ?????????
    ??????????? WMI ?? ??????? ???????????.

19
  • ? Windows Server 2003 ? Windows XP ???????????
    ????????? ????????????? ? ????????
    SystemRoot\System32\Wbem\Repositiry\FS\ ?
    ?????? objects.data (???????????), index.btr
    (????????? ????), index.map ? object.map (?????
    ???????? ??? ????????????).
  • ? ????? ?????? ??????? Windows ???????????
    ????????????? ? ????? cim.rep.

20
  • ?????????? WMI, ??????? ???????? ??????
    ?????????? ?????????? ??????????? ????????,
    ???????? CIMOM ?????????? ? ???? ????????
    ????????????, ????????? WMI API.
  • ?????????? ?????????? ???????? COM-?????????,
    ??????? ???????????? dll-???????????? ? ????????
    SystemRoot\System32\Wbem\.

21
  • WMI ???????? ????????? ?????????? ???????????,
    ??????? ????????????? ??? ????????? ?????? ??
    ????????? ??????????, ????????, ???????? ???????,
    ?????????? ??????? ? ?.?.

22
  • ?????????? ????????? ????????? (WMI scripting
    library)
  • ????????????? ?
  • ????? wbemdisp.dll
  • ???????? SystemRoot\System32\Wbem\.

23
  • ?????????? ??????? CIM ??????? ?? ??????
    ???????????? ???????.
  • ????????, ??? Windows Server 2003 ? CIM ????????
    ????? 5000 ???????.
  • ??????, ???????????? CIM, ????????? ?
    ????????????? ??????????? ???? ?? ?????, ?
    ??????-??????? ????? ???????????, ??????????????
    ? ????????? ???????? ???????????? ???????.

24
  • ?????? CIM ???????????? ? ???????????? ????
    (namespaces), ??????? ??????????? ????????????.
  • ???????? ???????????? ???? ???????????? ??? Root.
  • ? ????? ???????? ????????? WMI ??????? ??????
    ???????????? ????, ??????? ????????? ?? ????
    ??????? ???? ????????? ???????????? ???? CIMV2,
    Default, Security ? WMI.

25
????? ???????? ? ??????? WMI
26
  • ??? ?????? ?????? ?????? ???????????? ??????
    ????? ?????????? ????? (??? ???? ????? ??????? ??
    ?????? ??????????? ????? ?????????).
  • ????? ?? ????? ????? ?????? ??? ??????? ??
    ??????? ???????????? ????.
  • ??????? ???????, ???????????? ? ??????? WMI,
    ????????????? ???? ?????.
  • ?????? ????? ????? ????????, ?????? ?
    ?????????????.
  • ????? ???? ????????????? ????? ???? ? ???????
    ???????? ? ??????.

27
  • ???????? ??????? ???????????? ??? ???????????
    ????????????? ?????????? ??????, ???????????????
    ?????????? ??????????? ??????, ? ????? ???
    ???????? ???????? ????????? ????? ???????.

28
  • ? ???????? ? WMI ???????? ??????? ???????? ??????
    ??? ??????, ?? ???????? ???????????? ???????
    ????????? ??????? ????? ???????? ??????? Put_().
  • ??????????? ????????? ??????????? ???????? ?????
    ???????? ?? ?????? ???????????? ???????.

29
  • ?????? ?????? ????????? ????????? ?? ??? ????
    ???????? ??? ??????????? ????????, ????????
    ????????????? ???? ?????.
  • ??? ??? ?? ??? ?????? ???????? ????? ???????????
    ?????-???? ????????, ?? ?? ? ??????? ?????? ????
    ??????.

30
  • ????????????? ??????? ????????????? ?????????? ?
    ?????? ? ?????
  • ????????????? ??????? ????????? ?????????? ???
    ??????? ????????
  • ????????????? ??????? ????? ????????? ?????????
    ????????, ??????? ????? ???????????? ???????

31
????? ???????? ? ???????? ? WMI
32
??????? ? WMI ??????????? ?? ??????????, ???????
? ??????? ???????.
33
  • ??????? ??????? ???????????? ???????
    __ExtrinsicEvent
  • ??????? ??????? - ??????? __TimerEvent
  • ?????????? ??????? - ???????? __NamespaceOperation
    Event, __ClassOperationEvent ? __InstanceOperation
    Event.
  • ??? ??????????? ??????? WMI ????????????? ???????
    ????????? ???? ??????, ???????? ????????????? ???
    ???????.

34
  • ?????????? ??????? ????????? ??????????????
    ????????? ? ????????? ??? ??????????? ????????,
    ??????? ???????????? ????????? ??????? WMI, ?
    ????? ????????? ? ????????? ?????? ???????????
    CIM.

35
  • ????????, ??????? ??????? ? ????????????
    ?????????, ????????????? ??????, ???????
    ????????? ?? ?????? __InstanceOperationEvent.
  • ??? ??????
  • __InstanceCreationEvent, __InstanceModificationE
    vent __InstanceDeleionEvent,
  • ?????????? ?? ????????, ??????????? ? ????????
    ?????????? ??????.

36
  • ????????? ?????? WMI ????? ???????????? ?
    ????????? (????????), ??????? ??????? ?? ??????
    VBScript ??? JScript ? ? ??????? ????????????
    ??????? ????????? Windows Script Host (WSH)
    ??????????? ??????????????? ? ????????????
    ???????.

37
  • ????? ?????, ? ???????????? ???????? Windows
    XP/Server 2003 ?????????? ???????? ??????? ? WMI
    ?? ????????? ?????? ? ??????? ???????? ??????
    (?????????? WMI Command-line, WMIC).

38
  • ?????????? ????????? ? ???????? ?????? WMI
    ????????? ????????????? ?????????
    ????????????????? ?????? ??????????? ?????
    ??????? ?????????, ??????? ???????????? ?
    ????????? ???????, ????????? ? ???? ??? ?????
    ??????????? ? ?????????????? ??????? (????????,
    ????????? ???????????? ?????? ? ??????? ???????
    ?? ????????? ??? ????????? ??????????, ??????????
    ???????? ????? ??????? ?? ????????????? ??????? ?
    ?. ?.).
Write a Comment
User Comments (0)
About PowerShow.com