Àâòîðèçàöèÿ
Ïîèñê ïî óêàçàòåëÿì
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.
ßçûê:
Ðóáðèêà: Òåõíîëîãèÿ /
Ñòàòóñ ïðåäìåòíîãî óêàçàòåëÿ: Ãîòîâ óêàçàòåëü ñ íîìåðàìè ñòðàíèö
ed2k: ed2k stats
Ãîä èçäàíèÿ: 2007
Êîëè÷åñòâî ñòðàíèö: 505
Äîáàâëåíà â êàòàëîã: 30.12.2007
Îïåðàöèè: Ïîëîæèòü íà ïîëêó |
Ñêîïèðîâàòü ññûëêó äëÿ ôîðóìà | Ñêîïèðîâàòü ID
Ïðåäìåòíûé óêàçàòåëü
Win32 classes, WMI (Windows Management Instrumentation) 284
Win32_OperatingSystem class (WMI) 336—337 349 482—483
Windows 9x scripts, execution 440
Windows administrators, scripting 13
Windows Calculator, Scientific mode 124
Windows domains, inactive users, finding 464—469
Windows domains, lists of computers, targeting 474—477
Windows domains, system information, collecting 469—474
Windows domains, tasks, automating 455 480
Windows domains, user creation, automating 455—456 459—463
Windows domains, users, targeting 477—479
Windows Management Instrumentation (WMI) see “WMI (Windows Management Instrumentation)”
Windows PowerShell, VBScript, compared 19—20
Windows PowerShell: TFM 19
Windows Script Components (WSCs) see “WSCs (Windows Script Components)”
Windows Script Host (WSH) see “WSH (Windows Script Host)”
Windows Server 2003, security improvements to 400—402
Windows XP, default script extensions 399
Windows XP, security improvements to 400—402
Windows XP, security, rules 400
WindowStyle method (Shortcut object) 187
WinNT 271
WinNT provider, ADSI 249—252
WinNT provider, ADSI, connections 248
WinNT provider, ADSI, file server connections 249
WinNT provider, domains, reconfiguring 259
WinNT provider, groups, creating 272
WinNT provider, LDAP 252—254
WinNT provider, open files, monitoring 486—488
WinNT provider, users, creating 272
WinNT provider, users, information queries 273—274
WinNT:// statement 248
WizardCode.vbs listing (20.1) 337 339
Wizards, code wizard 32
Wizards, WMI Wizard 336—337
WMI (Windows Management Instrumentation) 14 145 173 283 286 299 335 355 497 508
WMI (Windows Management Instrumentation), ACEs (access control entries) 300
WMI (Windows Management Instrumentation), associations 319
WMI (Windows Management Instrumentation), associations, instances 321—325
WMI (Windows Management Instrumentation), CIM (Common Information Model) 284
WMI (Windows Management Instrumentation), classes 284—285 305
WMI (Windows Management Instrumentation), classes, finding 293—294
WMI (Windows Management Instrumentation), classes, interrelated classes 300 317—319
WMI (Windows Management Instrumentation), classes, Win32_OperatingSystem 336—337 482—483
WMI (Windows Management Instrumentation), classes, Win32_OperatingSystem class 349
WMI (Windows Management Instrumentation), complex information 300 317—319
WMI (Windows Management Instrumentation), DMTF (Desktop Management Task Force) 283
WMI (Windows Management Instrumentation), functions, writing 340 342
WMI (Windows Management Instrumentation), hierarchy 283—285
WMI (Windows Management Instrumentation), hierarchy, consumers 285—286
WMI (Windows Management Instrumentation), hierarchy, providers 285—286
WMI (Windows Management Instrumentation), hierarchy, versions 286
WMI (Windows Management Instrumentation), installing 290—291
WMI (Windows Management Instrumentation), queries, debugging 358—366 370
WMI (Windows Management Instrumentation), queries, testing 294—295 325—326
WMI (Windows Management Instrumentation), queries, writing 294—295 325—333
WMI (Windows Management Instrumentation), query scripts, creating 497—499
WMI (Windows Management Instrumentation), remote computers, conneting to 287—289
WMI (Windows Management Instrumentation), remote computers, shutting down 481—483
WMI (Windows Management Instrumentation), remote MSI packages, uninstalling 489—492
WMI (Windows Management Instrumentation), scripts, debugging 357—358
WMI (Windows Management Instrumentation), scripts, designing 335—340
WMI (Windows Management Instrumentation), scripts, testing 297 351—355
WMI (Windows Management Instrumentation), scripts, writing 293—297 343—344 347—350
WMI (Windows Management Instrumentation), service accounts, updating 505—508
WMI (Windows Management Instrumentation), subroutines, writing 340 342
WMI (Windows Management Instrumentation), tools 291—292
WMI (Windows Management Instrumentation), tools, Object Browser 291—292
WMI (Windows Management Instrumentation), tools, Scriptomatic tool 292—293
WMI (Windows Management Instrumentation), update scripts, creating 499—500
WMI (Windows Management Instrumentation), Wbemtest.exe tool 286—289
WMI (Windows Management Instrumentation), Wbemtest.exe tool, WQL queries 289—290
WMI (Windows Management Instrumentation), Win32 284
WMI (Windows Management Instrumentation), WQL (WMI Query Language) 299—301
WMI (Windows Management Instrumentation), WQL (WMI Query Language), associations 317
WMI (Windows Management Instrumentation), WQL (WMI Query Language), associators 303
WMI (Windows Management Instrumentation), WQL (WMI Query Language), Boolean operators 301—302
WMI (Windows Management Instrumentation), WQL (WMI Query Language), classes 317
WMI (Windows Management Instrumentation), WQL (WMI Query Language), comparison operators 302—303
WMI (Windows Management Instrumentation), WQL (WMI Query Language), complex information 317
WMI (Windows Management Instrumentation), WQL (WMI Query Language), keywords 303
WMI (Windows Management Instrumentation), WQL (WMI Query Language), properties 300—301
WMI (Windows Management Instrumentation), WQL (WMI Query Language), queries 304—315
WMI (Windows Management Instrumentation), WQL (WMI Query Language), references 303
WMI Wizard 336—337
WMIFunctions.wsc listing (22.1) 379—387
WorkingDirectory method (Shortcut object) 187
WorkWithObject subroutine 478
WQL (WMI Query Language) 299—301
WQL (WMI Query Language), associations 317
WQL (WMI Query Language), associators 303
WQL (WMI Query Language), Boolean operators 301—302
WQL (WMI Query Language), classes, interrelated classes 317
WQL (WMI Query Language), comparison operators 302—303
WQL (WMI Query Language), complex information 317
WQL (WMI Query Language), keywords 303
WQL (WMI Query Language), properties 300—301
WQL (WMI Query Language), queries, debugging 358—366
WQL (WMI Query Language), queries, determining 304—305
WQL (WMI Query Language), queries, results 312—314
WQL (WMI Query Language), queries, testing 306—308 325—326
WQL (WMI Query Language), queries, writing 308—315 325—333
WQL (WMI Query Language), references 303
WQL (WMI Query Language), WMI instances, associating 321—325
WQL queries, WMI (Windows Management Instrumentation) 289—290
Writing, complex WMI queries 325
Writing, complex WMI queries, VBScript 326—333
Writing, encoded script 390—393
Writing, first script 33—35
writing, functions 223—227 340—342
Writing, functions, FormatLogFileName function 223—227
Writing, HTAs (HTML Applications) 411—420
Writing, main script 228—234 343—350
Writing, queries, WMI (Windows Management Instrumentation) 294—295
Writing, scripts, WMI (Windows Management Instrumentation) scripts 293—297
Writing, subroutines 223—227 340—342
Writing, WQL queries 308—315
WScript objects 173—174 247
WScript.ADSystemInfo object 179—180
WScript.Echo 114 213
WScript.Echo command 213—214
WScript.Echo, command-line output 110
WScript.Echo, message boxes, displaying 107—108
WScript.exe (VBScript) 37
WScript.exe (VBScript), deleting 405—406
WScript.exe (VBScript), file associations, removing 405
WScript.exe (VBScript), renaming 406
WScript.Network object 174—175
WScript.Network object, AddPrinterConnection method 177
WScript.Network object, AddWindowsPrinterConnection method 177
WScript.Network object, ComputerName method 178
WScript.Network object, EnumNetworkDrive method 176
WScript.Network object, EnumPrinterConnection method 177
WScript.Network object, MapNetworkDrive method 175—176
WScript.Network object, practical application 178—179
WScript.Network object, RemoveNetworkDrive method 176
WScript.Network object, RemovePrinterConnection method 178
WScript.Network object, SetDefaultPrinter method 178
WScript.Network object, UserDomain method 178
WScript.Network object, UserName method 178
WScript.Shell object 180
WScript.Shell object, AppActivate method 185
WScript.Shell object, CreateShortcut method 183
WScript.Shell object, Environment method 183—184
WScript.Shell object, Exec method 180—182
WScript.Shell object, ExpandEnvironmentStrings method 184
WScript.Shell object, LogEvent method 184
WScript.Shell object, Popup method 187
WScript.Shell object, RegDelete method 184—185
WScript.Shell object, RegRead method 184
WScript.Shell object, RegWrite method 184
WScript.Shell object, Run method 180
WScript.Shell object, SendKeys method 185—187
WScript.Shell object, SpecialFolders method 182—183
WScript.Shortcut object 187
WScript.Shortcut object, methods 187
WScript.Shortcut object, practical application 188—189
WScript.Shortcut object, properties 187
WScript.StdIn, command-line input 109—110
WSCs (Windows Script Components) 378 388
WSCs (Windows Script Components), registration 383
WSCs (Windows Script Components), XML (Exstensible Markup Language) 378 382—384 387
Wsf files, WScript.exe associations, removing 405
WSH (Windows Script Host) 15—16 20—23 173 390
WSH (Windows Script Host), ADSystemlnfo object 179—180
WSH (Windows Script Host), Network object 173—175
WSH (Windows Script Host), Network object, AddPrinterConnection method 177
WSH (Windows Script Host), Network object, AddWindowsPrinterConnection method 177
WSH (Windows Script Host), Network object, ComputerName method 178
WSH (Windows Script Host), Network object, EnumNetworkDrive method 176
WSH (Windows Script Host), Network object, EnumPrinterConnection method 177
WSH (Windows Script Host), Network object, MapNetworkDrive method 175—176
WSH (Windows Script Host), Network object, practical application 178—179
WSH (Windows Script Host), Network object, RemoveNetworkDrive method 176
WSH (Windows Script Host), Network object, RemovePrinterConnection method 178
WSH (Windows Script Host), Network object, SetDefaultPrinter method 178
WSH (Windows Script Host), Network object, UserDomain method 178
WSH (Windows Script Host), Network object, UserName method 178
WSH (Windows Script Host), Shell object 173 180
WSH (Windows Script Host), Shell object, AppActivate method 185
WSH (Windows Script Host), Shell object, CreateShortcut method 183
WSH (Windows Script Host), Shell object, Environment method 183—184
WSH (Windows Script Host), Shell object, Exec method 180—182
WSH (Windows Script Host), Shell object, ExpandEnvironmentStrings method 184
WSH (Windows Script Host), Shell object, LogEvent method 184
WSH (Windows Script Host), Shell object, Popup method 187
WSH (Windows Script Host), Shell object, RegDelete method 184—185
WSH (Windows Script Host), Shell object, RegRead method 184
WSH (Windows Script Host), Shell object, RegWrite method 184
WSH (Windows Script Host), Shell object, run method 180
WSH (Windows Script Host), Shell object, SendKeys method 185—187
WSH (Windows Script Host), Shell object, SpecialFolders method 182—183
WSH (Windows Script Host), Shortcut object 173 187
WSH (Windows Script Host), Shortcut object, methods 187
WSH (Windows Script Host), Shortcut object, practical application 188—189
WSH (Windows Script Host), Shortcut object, properties 187
WSH (Windows Script Host), trust policy, implementing 406
WSH (Windows Script Host), WScript object 173—174
WshNamed object, parameters, parsing 111—114
XML (Extensible Markup Language) 32
XML (Extensible Markup Language), WSCs (Windows Script Components) 378 382—384 387
Year( ) function 146
“Are you sure?” dialog boxes 104
“Impersonate” directives, queries 315
Ðåêëàìà