Ãëàâíàÿ    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
Ïðåäìåòíûé óêàçàòåëü
Scripts, WMI (Winodws Management Instrumentation) scripts, testing      297
Scripts, WMI (Winodws Management Instrumentation) scripts, writing      293—297
Scripts, WQL queries, writing      308—312
sDate input parameter      89
SearchScripting.com      2
Second( ) function      146
Security Accounts Manager (SAM)      see “SAM (Security Accounts Manager)”
Security Identifiers (SIDs)      see “SIDs (security identifiers)”
security, antivirus software      406
Security, HTAs (HTML Applications), security context      409
Security, scripting      18—19
Security, scripting, dangers of      399—400
Security, scripting, safe scripting      405—406
Security, scripts, digitally signing      402—405
Security, scripts, signed scripts      404—405
security, Software Restriction Policies      400
Security, Windows Server 2003, improvements to      400—402
Security, Windows XP, improvements to      400—402
SELECT property (WQL query)      290
SELECT property (WQL)      300
Select/Case conditional execution statements      161—162
Select/Case construct      48
SelectCase.vbs listing (10.2)      161
SendKeys method (Shell object)      185—187
SerialNumber property (Drive object)      195
Server 2003 (Windows), security improvements to      400—402
Server Message Blocks (SMBs)      445
Service accounts, updating      505—508
SetDefaultPrinter method (Network object)      178
SetDHCP.vbs listing (19.1)      328—330
SetInfo method      260 263
SetInfo method (objDomain)      249
Settings, users, changing      274—275
ShareName property (Drive object)      195
Shares.vbs listing (29.2)      484—485
Shell object      173 180
Shell object, AppActivate method      185
Shell object, CreateShortcut method      183
Shell object, Environment method      183—184
Shell object, ExpandEnvironmentStrings method      184
Shell object, LogEvent method      184
Shell object, Popup method      187
Shell object, RegDelete method      184—185
Shell object, RegRead method      184
Shell object, RegWrite method      184
Shell object, Run method      180—182
Shell object, SendKeys method      185—187
Shell object, SpecialFolders method      182—183
Shortcut object      173
Shortcut object, methods      187
Shortcut object, practical application      188—189
Shortcut object, properties      187
shortcuts, creating      188
Shortcuts.vbs listing (11.2)      188—189
ShortName property (FSO File object)      204
ShowNIC.vbs listing (17.1)      285
ShowProperties.vbs listing (21.1)      366—368
Shutdown method      308 311 483
shutdown scripts      451
Shutdown.vbs listing (29.1)      482—483
Shutting down, remote computers, WMI (Windows Management Instrumentation)      481—483
SIDs (Security Identifiers)      58
Signed scripts, running only      404—405
Signer.wsf. This script signs another one listing (24.1)      402—404
Signing scripts      402—405
SIN( ) function      119
Singles      115
Size property (FSO File object)      204
sleep command      186
SMBs (Server Message Blocks)      445
SMS (Systems Management Server), system information, collecting      469—474
snippets      377
Snippets, reusing      424—425
software restriction policies      400—401
Software, listing      492—495
Software, rules      400
Space( ) function      131
Spaghetti debugging      425—426
SpecialFolders method (Shell object)      182—183
Split( ) function      150
SQL (Structured Query Language)      299
Sqr( ) function      119
Standard shortcuts, creating      188
Starting dialog box      22
statements      44 92
Statements, conditional execution statements, If/Then      156—161 170—171
Statements, conditional execution statements, Select/Case      161—162
statements, Const      80
Statements, control-of-flow statements      155
Statements, custom subroutines, compared      48
statements, Dim      80 98
Statements, Do Until      424
statements, Function      89 118
Statements, functions, acting as      94
Statements, GetObject      248
Statements, main script      47—48
Statements, MsgBox      84 94 101—108 114 170
Statements, MsgBox, best practices      106—107
Statements, MsgBox, display options      103
Statements, MsgBox, return values      104
Statements, Nothing      251
statements, ReDim      149
statements, Sub      93
Statements, WinNT://      248
StdIn, command-line input      109—110
StrComp( ) function      131
StrComputer variable      418
strings      129
Strings, changing      139—141
strings, concatenating      135—139
Strings, data types, converting to      142—143
Strings, double quotation marks      129—130
strings, formatting      141—142
strings, manipulating      143—144
Strings, manipulating, functions      130—131
strings, substrings      131—134
Strings, VBScript      129—131
StrName variable      476
strongly typed languages      82
StrResult variable      418
StrReverse( ) function      131
Structured Query Language (SQL)      299
sub keyword      48
Sub statement      93
subroutines      39 43—44 90—92 99
Subroutines, custom subroutines, creating      92—94
Subroutines, DoObject      476—477
Subroutines, DoObject_User      479
Subroutines, encapsulation      373
Subroutines, event handlers      410
Subroutines, event handlers, HTA (HTML Applications)      418—420
Subroutines, intrinsic subroutines      44
Subroutines, main script, custom subroutines      45—46
Subroutines, main script, intrinsic subroutines      47—48
Subroutines, MapDrive      44 67
Subroutines, when to use      45
Subroutines, WorkWithObject      478
Subroutines, writing      223—227 340 342
substrings      131—134
Syntax      75
syntax errors      70
Syntax errors, preventing      422—425
System icons, message boxes      102
Systems Management Server (SMS)      see “SMS (System Management Server)”
Tan( ) function      119
tangents      115
TargetingAD.vbs listing (28.5)      477—479
TargetingLists.vbs listing (28.4)      474—477
TargetPath method (Shortcut object)      187
Task lists, creating      56—58
Tasks, domains, automating      455 480
Tasks, scripts, defining      221—222
TaxStream object (FSO)      194
TechNet (Microsoft)      2
Templates, administrative scripts      474—479
Testing, complex WMI queries      325—326
Testing, queries, WMI (Windows Management Instrumentation)      294—295
Testing, scripts      234—355
Testing, scripts, WMI (Windows Management Instrumentation) scripts      297
Testing, WQL queries      306—308
Text files      14
Text-based scripts      17
TextStream objects      347
TextStream objects, FSO (FileSystemObject)      206—209 212 216
Third octets, IP addresses, attaining      63
Time zones, domains      472
Time( ) function      146
Times, getting      146—147
Times, VBScript      145—148
TLB Browser      189
Tools, Script Encoder      390
Tools, selecting, script design      58—63
Tools, WMI (Winodws Management Instrumentation)      291—292
Tools, WMI (Winodws Management Instrumentation), Object Browser      291—292
Tools, WMI (Winodws Management Instrumentation), Scriptomatic tool      292—293
TotalSize property (Drive object)      196
Tracert command-line utility      110
TreeObject model script listing (5.4)      97
Trim( ) function      131
Trust policies, WSH trust policy, implementing      406
Type property (FSO File object)      204
Types.vbs listing (12.2)      199
Typographical elements, programming      8—9
UCase( ) function      131 136
UNC (Universal Naming Convention)      168
UNCs (universal naming conventions)      66
Underscore (_) character      79
Underscore characters      106
Unescape( ) function      131
Uninstall method      492
Uninstall.vbs listing (29.5)      489—492
Unistalling remote MSI packages      489—492
Universal (Greenwich) time      472
Universal Naming Convention (UNCs)      66
Unknown drive type      196
Update profile parameter (MapNetworkDrive method)      175
Update scripts, WMI (Windows Management Instrumentation), creating      499—500
UpdateServices.vbs listing (30.1)      505—508
Updating service accounts, WMI      505—508
user input, validating      69
User interfaces, HTAs (HTML Applications), designing      412—413
UserDomain method (Network object)      178
UserName method (Network object)      178
Username parameter (MapNetworkDrive method)      175
users      271
users, creating      271
Users, creating, automating      455—463
Users, creating, LDAP provider      273
Users, creating, WinNT provider      272
Users, inactive users, finding      464—469
Users, information, querying      273—274
Users, settings, changing      274—275
Users, targeting, AD (Active Directory)      477—479
Utilities, command-line utilities      110
Validating, user input      69
values, constants      466
Variables      76 79 99
variables, arrays      145 148 152
Variables, arrays, creating      149—151
Variables, arrays, manipulating      149—151
Variables, arrays, multidimensional arrays      149
Variables, arrays, numerica variables      151—152
Variables, arrays, VBScript      149
Variables, bytes      152
Variables, constants, compared      80
Variables, data coercion      83—85
variables, data types      82
Variables, data, assigning to      82—83
variables, declaring      79—81
Variables, dynamic arrays      149
variables, names      227
Variables, objDomain      248
Variables, objTS      424
Variables, strComputer      418
Variables, strName      476
Variables, strResult      418
Variables, vPasswd      118
VBA (Visual Basic for Applications)      400
Vbs files, WScript.exe associations,\ removing      405
VBScript (Visual Basic, Scripting Edition)      1 13 16—18
VBScript (Visual Basic, Scripting Edition) as interpreted language      14
VBScript (Visual Basic, Scripting Edition), advanced arithmetic      118—121
VBScript (Visual Basic, Scripting Edition), arrays      149
VBScript (Visual Basic, Scripting Edition), basic arithmetic      116—118
VBScript (Visual Basic, Scripting Edition), Boolean math      121—126
VBScript (Visual Basic, Scripting Edition), bytes      152
VBScript (Visual Basic, Scripting Edition), complex queries, writing      326—333
VBScript (Visual Basic, Scripting Edition), data types, converting      127
VBScript (Visual Basic, Scripting Edition), dates      145—148
VBScript (Visual Basic, Scripting Edition), documentation, downloading      59
VBScript (Visual Basic, Scripting Edition), input, asking for      108—110
VBScript (Visual Basic, Scripting Edition), interactive capabilities, limitations      101
VBScript (Visual Basic, Scripting Edition), introduction of      1
VBScript (Visual Basic, Scripting Edition), messages, displaying      101—108
VBScript (Visual Basic, Scripting Edition), numbers      115—116
VBScript (Visual Basic, Scripting Edition), numeric data types, converting      126—127
VBScript (Visual Basic, Scripting Edition), procedural programs      410
VBScript (Visual Basic, Scripting Edition), scripts, typical scripts      39 42
VBScript (Visual Basic, Scripting Edition), strings      129—131
VBScript (Visual Basic, Scripting Edition), times      145—148
VBScript (Visual Basic, Scripting Edition), vunerabilities      1
VBScript (Visual Basic, Scripting Edition), Windows PowerShell, compared      19—20
VBScript (Visual Basic, Scripting Edition), WQL queries, writing      308—312
VBScript (Visual Basic, Scripting Edition), WScript.exe      37
VBScript Editor, scripting with      27—28
VBScript Editor, syntax errors, preventing      422—423
VBScript IDEs, scripting with      29—33
VbsEdit      27—28
Version parameter (WSCs)      383
Versions, WMI (Windows Management Instrumention)      286
Virtual private network (VPN) adapters      284
viruses, antivirus software      406
Viruses, script-based viruses      399
Visual Basic for Applications (VBA)      400
Visual Basic, Scripting Edition (VBScript)      see “VBScript (Visual Basic Scripting
Visual Query Builder      32
Visual Studio      101
VolumeName property (Drive object)      196
vPasswd variable      118
VPN (virtual private network) adapters      284
WBEM (Web-Based Enterprise Management)      286
Wbemtest.exe tool, complex queries, testing      325—326
Wbemtest.exe tool, WMI (Winodws Management Instrumentation) queries      286—289
Wbemtest.exe tool, WMI (Winodws Management Instrumentation) queries, debugging      358—366
Wbemtest.exe tool, WMI (Winodws Management Instrumentation) queries, WQL queries      289—290
Weakly typed languages      82
Web-Based Enterprise Management (WBEM)      286
Weekday( ) function      146
WeekdayName( ) function      147
What-You-See-Is-What-You-Get editors      410
Where clause, WMI instances, associating      324—325
Where keyword      136
WHERE property (WQL query)      290 301
WhoHas.vbs listing (2.1)      33
WhoHas.vbs listing (29.4)      486—488
WhoHas.vbs, debugging      35—36
WhoHas.vbs, running      35
WhoHas.vbs, writing      33—35
WhoHasFile.vbs listing (10.3)      167—170
Whole numbers      115
1 2 3 4 5 6 7
blank
Ðåêëàìà
blank
blank
HR
@Mail.ru
       © Ýëåêòðîííàÿ áèáëèîòåêà ïîïå÷èòåëüñêîãî ñîâåòà ìåõìàòà ÌÃÓ, 2004-2024
Ýëåêòðîííàÿ áèáëèîòåêà ìåõìàòà ÌÃÓ | Valid HTML 4.01! | Valid CSS! Î ïðîåêòå