Opsi-Script Manual (4.12.4.17)
Total Page:16
File Type:pdf, Size:1020Kb
opsi-script Manual (4.12.4.27) uib gmbh Table of Contents 1. Copyright . 2 2. opsi-script reference card (4.12.4.27). 3 2.1. Global text constants . 3 2.1.1. System directories . 3 2.1.2. Common (AllUsers) directories [W]: . 3 2.1.3. Default User directories [W]: . 4 2.1.4. Current user directories [W]: . 4 2.1.5. /AllUserProfiles directory constants [W/L/M]: . 4 2.1.6. opsi-script Path and Directories [W/L/M]: . 5 2.1.7. Network informations [W/L/M]: . 5 2.1.8. Service Data [W/L/M] . 5 2.1.9. Functions to handle constants [W/L/M] . 6 2.2. In Primary Sections . 6 2.2.1. Kinds of Primary Sections [W/L/M]: . 6 2.2.2. opsi-script control [W/L/M]: . 6 2.2.3. Variables [W/L/M]:. 8 2.2.4. Functions. 8 2.3. Secondary Sections. 20 2.3.1. Winbatch [W/L/M]. 20 2.3.2. DosBatch and DosInAnIcon (ShellBatch and ShellInAnIcon) [W/L/M]. 20 2.3.3. ExecWith [W/L/M]. 21 2.3.4. Files [W/L/M] . 22 2.3.5. Registry [W] . 23 2.3.6. Patches [W/L/M]. 24 2.3.7. PatchTextFile [W/L/M] . 25 2.3.8. LinkFolder [W/L/M] . 26 2.3.9. OpsiServiceCall [W/L/M] . 28 2.3.10. PatchHosts [W/L/M] . 28 2.3.11. XML2 Sections [W/L/M] . 29 2.3.12. XMLPatch [W] . 30 2.3.13. ExecPython [W/L/M]. 30 2.3.14. LdapSearch [W]. 30 2.4. By Topic . 30 2.4.1. Compare related functions [W/L/M] . 30 2.4.2. Crypt / Hash related functions [W/L/M]. 31 2.4.3. Defined Functions and Libraries [W/L/M] . 31 2.4.4. Encoding related functions [W/L/M] . 32 2.4.5. Error / Warning related functions [W/L/M] . 33 2.4.6. File related functions [W/L/M] . 34 2.4.7. Ini file related functions [W/L/M] . 35 2.4.8. Interaction [W/L/M] . 36 2.4.9. License Management related functions [W/L/M] . 36 2.4.10. Linux specific functions [W/L/M] . 37 2.4.11. Logging related functions [W/L/M]. 37 2.4.12. macOS specific functions [W/L/M] . 39 2.4.13. Network related functions [W/L/M] . 39 2.4.14. Number related functions [W/L/M] . 40 2.4.15. Operating System related functions [W/L/M]. 40 2.4.16. opsiservicecall and json Related functions [W/L/M]. 42 2.4.17. opsi related functions [W/L/M] . 43 2.4.18. Process and Script Related functions . 43 2.4.19. Regular expression related functions [W/L/M]:. 44 2.4.20. Registry related functions [W]. 45 2.4.21. String handling functions [W/L/M] . 46 2.4.22. Stringlist handling functions [W/L/M] . 47 2.4.23. Time / Date related functions [W/L/M]. 50 2.4.24. Usercontext / loginscripts related functions [W]: . 50 2.4.25. XML related functions (XML2) [W/L/M]: . 51 3. Introduction. ..