Ãëàâíàÿ    Ex Libris    Êíèãè    Æóðíàëû    Ñòàòüè    Ñåðèè    Êàòàëîã    Wanted    Çàãðóçêà    ÕóäËèò    Ñïðàâêà    Ïîèñê ïî èíäåêñàì    Ïîèñê    Ôîðóì   
blank
Àâòîðèçàöèÿ

       
blank
Ïîèñê ïî óêàçàòåëÿì

blank
blank
blank
Êðàñîòà
blank
Jones D. — VBScript, WMI, and ADSI Unleashed
Jones D. — VBScript, WMI, and ADSI Unleashed



Îáñóäèòå êíèãó íà íàó÷íîì ôîðóìå



Íàøëè îïå÷àòêó?
Âûäåëèòå åå ìûøêîé è íàæìèòå Ctrl+Enter


Íàçâàíèå: VBScript, WMI, and ADSI Unleashed

Àâòîð: Jones D.

Àííîòàöèÿ:

If you’re a Windows administrator, scripting expertise can liberate you from boring, repetitive work–so you can take on the sophisticated, high-value projects you really want. Top scripting guru Don Jones has written the definitive administrator’s guide to getting results with Microsoft’s key scripting technologies: VBScript, WMI, and ADSI.



Jones draws on his unsurpassed experience training Windows administrators in conferences, classes, and from his enormously popular site, ScriptingAnswers.com.



You’ll learn how to use VBScript, WMI, and ADSI to gain administrative control over nearly every aspect of every recent Windows server or client, including Windows Server 2003, Vista, XP, 2000, and NT. As you gain experience, Jones introduces more advanced techniques, ranging from modular scripting and script encryption to integrating VBScript with HTML code.



Jones concludes with a full section of ready-to-run, real-world examples–from logon/logoff scripts to automated domain and network administration, from querying WMI to creating Active Directory groups. Every script is explained line-by-line, with challenging techniques described in even greater detail.


ßçûê: en

Ðóáðèêà: Òåõíîëîãèÿ/

Ñòàòóñ ïðåäìåòíîãî óêàçàòåëÿ: Ãîòîâ óêàçàòåëü ñ íîìåðàìè ñòðàíèö

ed2k: ed2k stats

Ãîä èçäàíèÿ: 2007

Êîëè÷åñòâî ñòðàíèö: 505

Äîáàâëåíà â êàòàëîã: 30.12.2007

Îïåðàöèè: Ïîëîæèòü íà ïîëêó | Ñêîïèðîâàòü ññûëêó äëÿ ôîðóìà | Ñêîïèðîâàòü ID
blank
Ïðåäìåòíûé óêàçàòåëü
Debugging, ADSI queries      366—370
Debugging, first script      35—36
debugging, scripts      357—358 435
Debugging, scripts, logic errors      425—435
Debugging, scripts, spaghetti debugging      425—426
Debugging, WMI queries      358—370
declaring variables      79—81
Default script extensions, Windows XP      399
Defaults, message boxes      103
Defining function input/output      223
Delete method      263
Delete method (Folder objects)      198
Delete method (FSO File objects)      204
Delete method (objDomain)      249
DeleteFolder method (FSO)      197
DeleteMail method      96
Deleting OUs (organizational units)      263—264
Deployment, scripts      17
Description method (Shortcut object)      187
Description parameter (WSCs)      383
Designing scripts, modules, creating      63—69
Designing scripts, task lists, creating      56—58
Designing scripts, tools, selecting      58—63
Designing, scripts      55 219—220 335—340
Designing, scripts, fact gathering      220—221
Designing, scripts, script outlines      222
Designing, scripts, task definitions      221—222
Designing, user interfaces, HTAs (HTML Applications)      412—413
Desktop Management Task Force (DMTF), WMI (Windows Management Instrumentation)      283
DHCP (Dynamic Host Configuration Protocol)      325
Dialog boxes, Cancel buttons      105
Dialog boxes, creating      101
Dialog boxes, Script Package      395
Dialog boxes, Starting      22
Dialog boxes, “Are you sure?”      104
Dialog builders      101
Digitally signing scripts      402—405
Dim keyword      89
Dim statements      80 98
Dim sVariable( ) function      149
Directories, LDAP, fully qualified domain names      253
DisableUser.vbs listing (5.1)      77—79
DisableUser2.vbs listing (5.2)      90—92
Display options, MsgBox statement      103
Displaying messages      59—60
Displaying messages, complex messages      105—106
Displaying messages, WScript.Echo      107—108
DLLs (dynamic link libraries)      16 76
DMTF (Desktop Management Task Force), WMI (Windows Management Instrumentation)      283
Do Until statement      424
Do Until/Loop construct      163—164
Do While/Loop construct      162—163
Do/Loop Until construct      163—164
Do/Loop While construct      162—163
Documentation (scripts)      48—53
Documentation, VBScript, downloading      59
Domain attributes, LDAP provider      258
domains      257
Domains, inactive users, finding      464—469
Domains, inventorying script for      343—355
Domains, lists of computers, targeting      474—477
Domains, lockout policies, changing      259
Domains, manipulating      269
Domains, names, FQDNs (fully qualified domain names)      271
Domains, OUs (organizational units)      260
Domains, OUs (organizational units), creating      260—261
Domains, OUs (organizational units), deleting      263—264
Domains, OUs (organizational units), modifying      261—263
Domains, OUs (organizational units), querying      263
Domains, passwords, changing      259
Domains, preloading      264—269 277—281
Domains, querying      257—259
Domains, system information, collecting      469—474
Domains, tasks, automating      455 480
Domains, time zones      472
Domains, user creation, automating      455—456 459—463
Domains, users, targeting      477—479
DoObject subroutine      476—477
DoObject_User subroutine      479
Double quotation marks, strings      129—130
Doubles      115
Downloading VBScript documentation      59
Dreamweaver      410
Drive object (FSO)      194—197
Drive object (FSO), drive types      196
Drive object (FSO), properties      195—196
Drive property (FSO File object)      204
Drive types, Drive object (FSO)      196
DriveLetter property (Drive object)      195
drives      196
drives, mapping      60—61
DriveType property (Drive object)      195
Duncan, Larry      61
dynamic arrays      149
Dynamic Host Configuration Protocol (DHCP)      325
dynamic link libraries (DLLs)      see “DLLs (dynamic link libraries)”
ECMAScript      382
Editors, What-You-See-Is-What-You-Get editors      410
ElseIf.vbs listing (10.1)      160—161
Encapsulation, functions and subroutines      373
Encoded script      389
Encoded script, detriments      394
Encoded script, encrypted code, compared      390
Encoded script, running      393
Encoded script, writing      390—393
Encoding script      397
Encrypted code, encoded code, compared      390
EnumNetworkDrive method (Network object)      176
EnumPrinterConnection method (Network object)      177
Environment method (Shell object)      183—184
Error-handling code      70
ErrorMsg Subroutine listing (5.3)      93
Errors, conditional errors      70
errors, logic errors      70 219
Errors, planning for      70—72
Errors, scripts      421—422 435
Errors, scripts, identifying      231—233
Errors, scripts, logic errors, debugging      425—435
Errors, scripts, syntax errors, preventing      422—425
Errors, syntax errors      70
escape( ) function      130
ESP (Evolved Script Packager)      394—397
event handlers      410
Event handlers, HTAs (HTML Applications), wiring up      418—420
event-driven programs      410
Event-driven scripting, HTAs (HTML Applications)      410
Evolved Script Packager (ESP)      394—397
Excel spreadsheets, queries, ADO (Active Directory Objects)      455—463
exclamation mark icon      106
Exec method (Shell object)      180—182
ExecQuery( ) method      285 422
execute( ) method      423
Executions, scripts      155
Executions, scripts, conditional executions      155—162
Executions, scripts, loops      162—167
exiting loops      166—167
Exp( ) function      119
ExpandEnvironmentStrings method (Shell object)      184
Expression      410
Extensible markup language (XML)      see “XML (Extensible Markup Language)”
Extensions (file), WScript.exe associations, removing      405
File extensions, WScript.exe associations, removing      405
File object (FSO)      194
File objects, FSO (FileSystemObject)      203—206
File objects, FSO (FileSystemObject), methods      204—206
File objects, FSO (FileSystemObject), properties      204—206
File servers, connecting to, WinNT provider      249
File systems, FSO (FileSystemObject)      193 209 218
File systems, FSO (FileSystemObject), BuildPath function      209—210
File systems, FSO (FileSystemObject), Drive object      194—197
File systems, FSO (FileSystemObject), File object      194
File systems, FSO (FileSystemObject), File objects      203—206
File systems, FSO (FileSystemObject), Folder object      194
File systems, FSO (FileSystemObject), Folder objects      198—203
File systems, FSO (FileSystemObject), folders      197—198
File systems, FSO (FileSystemObject), GetTempName method      210
File systems, FSO (FileSystemObject), log file scanner creation      211—218
File systems, FSO (FileSystemObject), object libraries      193—194
File systems, FSO (FileSystemObject), TaxStream object      194
File systems, FSO (FileSystemObject), TextStream objects      206—209 212 216
File Transfer Protocol (FTP)      see “FTP (File Transfer Protocol)”
FileProperties.vbs listing (12.4)      204
files, batch files      13 20
Files, CScript.exe executable, deleting      405—406
Files, FSO (FileSystemObject)      209 218
Files, FSO (FileSystemObject), BuildPath function      209—210
Files, FSO (FileSystemObject), File objects      203—206
Files, FSO (FileSystemObject), GetTempName method      210
Files, FSO (FileSystemObject), log file scanners      211—218
Files, FSO (FileSystemObject), TextStream objects      206—209 212 216
Files, open files, monitoring      486—488
Files, text files      14
Files, WScript.exe executable, deleting      405—406
Files, WScript.exe executable, renaming      406
FileSystem property (Drive object)      195
FileSystemObject (FSO)      193 209 218 247 335 347 509
FileSystemObject (FSO), BuildPath function      209—210
FileSystemObject (FSO), Drive object      194—197
FileSystemObject (FSO), Drive object, drive types      196
FileSystemObject (FSO), Drive object, properties      195—196
FileSystemObject (FSO), File objects      194 203—206
FileSystemObject (FSO), File objects, methods      204—206
FileSystemObject (FSO), File objects, properties      204—206
FileSystemObject (FSO), Folder objects      194 198—199
FileSystemObject (FSO), Folder objects, Attributes property      200—202
FileSystemObject (FSO), Folder objects, methods      198
FileSystemObject (FSO), Folder objects, properties as objects      202—203
FileSystemObject (FSO), folders      197—198
FileSystemObject (FSO), folders, methods      197
FileSystemObject (FSO), GetTempName method      210
FileSystemObject (FSO), log file scanners, creating      211—218
FileSystemObject (FSO), object libraries      193—194
FileSystemObject (FSO), TaxStream object      194
FileSystemObject (FSO), TextStream objects      206—209 212 216
FileSystemObject’s GetFolder method      99
FindOldUsers.vbs listing (28.2)      464—469
First script, debugging      35—36
First script, running      35
First script, writing      33—35
Fixed drive type      196
Folder objects, FSO (FileSystemObject)      194 198—199
Folder objects, FSO (FileSystemObject), Attributes property      200—202
Folder objects, FSO (FileSystemObject), Folder objects      198—203
Folder objects, FSO (FileSystemObject), methods      197—198
Folder objects, FSO (FileSystemObject), properties as objects      202—203
FolderExists method (FSO)      197
For Each/Next construct      165—166
For/Next construct      164—165
ForceLogoff domain attribute (LDAP provider)      258
Format commands      223
FormatCurrency( ) function      130
FormatDateTime( ) function      130
FormatLogFileName Function listing (13.1)      225—227
FormatLogFileName function, writing      223—227
FormatNumber( ) function      130
FormatPercent( ) function      130
formatting strings      141—142
FQDNs (fully qualified domain names)      271
Fractional values, numbers      115
FreeSpace property (Drive object)      195
FROM property (WQL query)      290 300
FrontPage      410
FSO (FileSystemObject)      193 209 218
FSO (FileSystemObject), BuildPath function      209—210
FSO (FileSystemObject), Drive object      194—197
FSO (FileSystemObject), Drive object, drive types      196
FSO (FileSystemObject), Drive object, properties      195—196
FSO (FileSystemObject), File object      194
FSO (FileSystemObject), File objects      203—206
FSO (FileSystemObject), File objects, methods      204—206
FSO (FileSystemObject), File objects, properties      204—206
FSO (FileSystemObject), Folder object      194
FSO (FileSystemObject), Folder objects      198—199
FSO (FileSystemObject), Folder objects, Attributes property      200—202
FSO (FileSystemObject), Folder objects, methods      198
FSO (FileSystemObject), Folder objects, properties as objects      202—203
FSO (FileSystemObject), folders      197—198
FSO (FileSystemObject), folders, methods      197
FSO (FileSystemObject), GetTempName method      210
FSO (FileSystemObject), log file scanners, creating      211—218
FSO (FileSystemObject), object libraries      193—194
FSO (FileSystemObject), TaxStream object      194
FSO (FileSystemObject), TextStream objects      206—209 212 216
ftp (file transfer protocol)      32
FullName method (Shortcut object)      187
fully qualified domain names (FQDNs)      see “FQDNs (fully qualified domain names)”
Fully qualified domain names, objects, LDAP directories      253
function keyword      48
Function statement      89
Functional code, HTAs (HTML Applications), writing      411—412
Functions      39 42—43 76 85 99
Functions as statements      94
functions, abs( )      126
Functions, Asc( )      118 130
Functions, Atn( )      118
Functions, BuildPath      209—210
Functions, CBool( )      126
Functions, CByte( )      152
Functions, CCur( )      126
Functions, CDbl( )      126
Functions, Chr( )      130
Functions, CLng( )      126
Functions, Clnt( )      126
Functions, Cos( )      118
Functions, CSng( )      126
Functions, CStr( )      130 143
functions, custom functions      88—92
Functions, Date( )      42 85 146 227
functions, DateAdd      223
Functions, DateAdd( )      147—148
functions, datediff( )      87 467
Functions, DatePart( )      118 136 146
Functions, Day( )      146
Functions, Dim sVariable( )      149
Functions, encapsulation      373
Functions, Escape( )      130
Functions, Exp( )      119
Functions, experimenting with      139
Functions, FormatCurrency( )      130 142
Functions, FormatDateTime( )      130 141—142
Functions, FormatNumber( )      130 142
Functions, FormatPercent( )      130 141—142
Functions, GetlP( )      44 67—68
Functions, GetOSInfo( )      340 342 344 348 351
Functions, GetSPVer( )      418
Functions, Hour( )      146
Functions, input parameters      85—89
Functions, input, defining      223
Functions, intrinsic functions      42 88—92
Functions, IsMemberOf function      43
Functions, IsMemberOf function( )      43
Functions, Join( )      151
Functions, LCase( )      131 139 217
Functions, Left( )      131 133 143
Functions, Len( )      131
Functions, lnputBox( )      108—110 114 216
Functions, lnStr( )      44 63 67 86 131 133—134 143 213
Functions, lnStrRev( )      131 134
Functions, lnt( )      126
functions, Log      468
1 2 3 4 5 6 7
blank
Ðåêëàìà
blank
blank
HR
@Mail.ru
       © Ýëåêòðîííàÿ áèáëèîòåêà ïîïå÷èòåëüñêîãî ñîâåòà ìåõìàòà ÌÃÓ, 2004-2024
Ýëåêòðîííàÿ áèáëèîòåêà ìåõìàòà ÌÃÓ | Valid HTML 4.01! | Valid CSS! Î ïðîåêòå