图书介绍

Microsoft WINDOWS SCRIPTING自学指南 英文2025|PDF|Epub|mobi|kindle电子书版本百度云盘下载

Microsoft WINDOWS SCRIPTING自学指南 英文
  • (美)艾德·威尔森著 著
  • 出版社: 世界图书上海出版公司
  • ISBN:7506283190
  • 出版时间:2007
  • 标注页数:381页
  • 文件大小:56MB
  • 文件页数:405页
  • 主题词:窗口软件,Windows-英文

PDF下载


点此进入-本书在线PDF格式电子书下载【推荐-云解压-方便快捷】直接下载PDF格式图书。移动端-PC端通用
种子下载[BT下载速度快]温馨提示:(请使用BT下载软件FDM进行下载)软件下载地址页直链下载[便捷但速度慢]  [在线试读本书]   [在线获取解压码]

下载说明

Microsoft WINDOWS SCRIPTING自学指南 英文PDF格式电子书版下载

下载的文件为RAR压缩包。需要使用解压软件进行解压得到PDF格式图书。

建议使用BT下载工具Free Download Manager进行下载,简称FDM(免费,没有广告,支持多平台)。本站资源全部打包为BT种子。所以需要使用专业的BT下载软件进行下载。如BitComet qBittorrent uTorrent等BT下载工具。迅雷目前由于本站不是热门资源。不推荐使用!后期资源热门了。安装了迅雷也可以迅雷进行下载!

(文件页数 要大于 标注页数,上中下等多册电子书除外)

注意:本站所有压缩包均有解压码: 点击下载压缩包解压工具

图书目录

Part 1 Covering the Basics1

1 Starting from Scratch3

Before You Begin3

Running Your First Script3

Header Information5

Reference Information7

Worker Information9

Output Information10

Enhancing Your Script11

Docs That Make House Calls12

Modifying an Existing Script13

Modifying the Header Information14

Modifying the Reference Information15

Modifying the Worker Information17

Modifying the Output information18

Summary20

Quiz Yourself21

On Your Own21

Lab 1 Exploring a VBScript21

Lab Instructions21

Lab 2 Customizing an Existing Script22

Scenario22

Lab Instructions22

2 Getting in the Loop25

Before You Begin25

Adding Power to Scripts25

Header Information27

Reference Information30

Worker Information30

For...Next30

Header Information31

Reference Information32

Worker and Output Information33

Do While...Loop35

Header Information36

Reference Information37

Worker and Output Information37

Do Until...Loop38

Worker and Output Information40

Summary42

Quiz Yourself42

On Your Own43

Lab 3 Using the For Each...Next Command43

Lab Instructions43

Lab 4 Modifying the Ping Script44

Lab Instructions44

3 Adding Intelligence45

Before You Begin45

If...Then45

Header Information47

Reference Information48

Worker and Output Information49

Intrinsic Constants50

If...Then...Elself51

Header Information52

Reference Information52

Worker and Output Information53

If...Then...Else54

Select Case55

Header Information56

Reference Information57

Worker and Output Information58

Summary59

Quiz Yourself59

On Your Own60

Lab 5 Modifying CPUType.vbs60

Lab Instructions60

Lab 6 Modifying ComputerRoles.vbs61

Scenario61

4 The Power of Many65

Before You Begin65

Passing Arguments65

Command-Line Arguments65

Making the Change66

Running from the Command Prompt67

No Arguments?67

Creating a Useful Error Message68

Using Multiple Arguments69

Header Information70

Reference Information71

Worker and Output Information71

Tell Me Your Name72

Reasons for Named Arguments72

Making the Change to Named Arguments73

Running a Script with Named Arguments74

Working with Arrays75

Moving Past Lame Arrays76

Header Information76

Reference Information77

Worker and Output Information77

What Does UBound Mean?78

Two-Dimensional Arrays79

Mechanics of Two-Dimensional Arrays80

Header Information81

Reference Information81

Worker and Output Information81

Summary82

Quiz Yourself83

On Your Own83

Lab 7 Working with Passing Arguments83

Lab Instructions83

Lab 8 Building Arrays88

Lab Instructions88

Lab 9 Modifying a Script90

Lab Instructions90

5 The Power of Many More93

Before You Begin93

Strings and Arrays93

Parsing Passed Text into an Array94

Header Information95

Reference Information96

Worker Information97

Output Information98

Parsing Passed Text99

Header Information101

Reference Information101

Worker Information102

Output Information102

Working with Dictionaries103

Using the Dictionary104

Adding Items to the Dictionary105

Summary105

Quiz Yourself106

Own Your Own106

Lab 10a Implementing Basics for the InStr Command106

Lab Instructions106

Lab 10b Understanding Advanced Features of the InStr Command107

Lab Instructions107

Lab 11 Creating a Dictionary108

Lab Instructions108

Part 2 Basic Windows Administration113

6 Working with the File System113

Before You Begin113

Creating File System Object113

File It Under Files114

Header Information114

Reference Information115

Worker and Output Information116

File Properties116

File Attributes117

Implementing the Attributes Property118

Setting File Attributes119

A File,a File,I Need to Create a File120

Writing to a Text File120

How Shall I Write Thee?Let Me Count the Ways121

Overwriting a File121

Existential File Approaches123

Summary124

Quiz Yourself124

On Your Own125

Lab 12 Creating Files125

Lab 13 Creating a Log File126

7 Fun with Folders129

Before You Begin129

Working with Folders129

Creating the Basic Folder130

Header Information131

Reference Information131

Worker Information131

Output Information132

Automatic Cleanup132

Deleting a Folder133

Deleting Multiple Folders133

Binding to Folders134

Does the Folder Exist?135

Copying Folders135

Moving On Up136

Summary137

Quiz Yourself137

On Your Own138

Lab 14 Creating Folders138

Lab 15 Deleting Folders139

8 Why Windows Management Instrumentation?143

Before You Begin143

What IS WMI?144

An Object in Any Other Namespace144

More Than Just a Name146

Providers147

Adding a Touch of Class149

Querying WMI150

Header Information151

Reference Information151

Worker and Output Information152

Summary153

Quiz Yourself154

On Your Own154

Lab 16 Retrieving Hotfix Information154

Lab Instructions154

Lab 17 Echoing the Time Zone156

Lab Instructions156

9 WMI Continued157

Before You Begin157

Alternate Ways of Configuring the WMI Moniker157

Accepting Defaults158

Reference Information158

Worker and Output Information159

Moniker Security Settings161

WbemPrivilege Has Its Privileges163

Summary164

Quiz Yourself164

On Your Own165

Lab 18a Using the Default WMI Moniker165

Lab Instructions165

Lab 18b Invoking the WMI Moniker to Display the Machine Boot Configuration166

Lab Instructions166

Lab 18c Including Additional Security Permissions167

Lab Instructions167

Lab 19 Using Win32_Environment and VBScript to Learn About WMI169

Lab Instructions169

10 Using WMI Queries171

Before You Begin171

Tell Me Everything About Everything!171

Next173

Header information173

Reference Information173

Worker and Output Information174

Selective Data from All Instances175

Selecting Multiple Properties176

Specifying Specifics177

Smooth Operator178

Where Is the Where Clause?179

Summary180

Quiz Yourself180

On Your Own181

Lab 20 Writing an Informative WMI Script181

Lab Instructions181

Lab 21a Obtaining More Direct Information183

Lab Instructions183

Lab 21b Using a More Complicated Where Clause184

Lab Instructions184

Part 3 Advanced Windows Administration187

11 Introduction to Active Directory Service Interfaces187

Before You Begin187

Working with ADSI187

Reference Information188

ADSI Providers189

LDAP Names190

Worker Information191

Output Information193

Creating Users194

Reference Information194

Worker Information195

Output Information195

Summary196

Quiz Yourself196

On Your Own196

Lab 22 Creating OUs196

Lab Instructions196

Lab 23 Creating Multi-Valued Users198

Lab Instructions198

12 Reading and Writing for ADSI201

Before You Begin201

Working with Users202

General User Information202

Reference Information204

Worker Information204

Output Information205

Creating the Second Page206

Reference Information207

Worker Information207

Output Information209

Deleting Users210

Summary211

Quiz Yourself211

On Your Own212

Lab 24 Deleting Users212

Lab Instructions212

Lab 25 Using the Event Log213

Lab Instructions213

13 Searching Active Directory215

Before You Begin215

Connecting to Active Directory to Perform a Search215

Header Information217

Reference Information217

Worker and Output Information218

Creating More Effective Queries219

Searching for Specific Types of Objects222

Reference Information223

Output Information223

What Is Global Catalog?224

Summary226

Quiz Yourself227

On Your Own227

Lab 26 Creating an ADO Query into Active Directory227

Lab Instructions227

Lab 27 Controlling How a Script Executes Against Active Directory229

Lab Instructions229

14 Configuring Networking Components231

Before You Begin231

WMI and the Network231

Making the Connection232

Header Information233

Reference Information234

Worker and Output Information235

Changing the TCP/IP Settings236

Header Information237

Reference Information237

Worker and Output Information237

Merging WMI and ADSI238

Win32_NetworkAdapterConfiguration239

Summary241

Quiz Yourself241

On Your Own242

Lab 28 Using WMI to Assign Network Settings242

Lab Instructions242

Lab 29 Combining WMI and ADSI in a Script243

Lab Instructions243

15 Subs and Other Round Things245

Before You Begin245

Working with Subroutines245

Calling the Subroutine248

Creating the Subroutine248

Creating Users and Logging Results249

Header Information251

Reference Information252

Worker Information252

Output Information253

Summary254

Quiz Yourself255

On Your Own255

Lab 30 Using ADSI and Subs,and Creating Users255

Lab Instructions255

Lab 31 Adding a Logging Subroutine257

Lab Instructions257

16 Logon Scripts261

Before You Begin261

Working with IADsADSystemInfo261

Using Logon Scripts263

Deploying Logon Scripts264

Header Information265

Reference Information266

Worker Information269

Output Information269

Summary270

Quiz Yourself271

On Your Own271

Lab 32 Adding a Group to a Logon Script271

Lab Instructions271

Lab 33 Adding Logging to a Logon Script272

Lab Instructions272

17 Working with the Registry277

Before You Begin277

First You Back UP277

Creating the WshShell Object278

Setting the comspec Variable279

Defining the Command Line279

Connecting to the Registry280

Header Information281

Reference Information281

Worker and Output Information282

Unleashing StdRegProv283

Creating Registry Keys284

Header Information285

Reference Information285

Worker and Output Information285

Writing to the Registry286

Deleting Registry Information287

Summary288

Quiz Yourself288

On Your Own288

Lab 34 Reading the Registry Using WMI288

Lab Instructions288

Lab 35 Creating Registry Keys290

Lab Instructions290

18 Working with Printers293

Before You Begin293

Working with Win32_Printer293

Obtaining the Status of Printers295

Header Information296

Reference Information296

Worker Information297

Output Information297

Creating a Filtered Print Monitor298

Reference Information300

Output Information300

Monitoring Print Queues301

Worker and Output Information302

Summary302

Quiz Yourself303

On Your Own303

Lab 36 Monitoring Print Jobs303

Lab Instructions303

Lab 37 Checking the Status of a Print Server305

Lab Instructions305

Part 4 Scripting Other Applications309

19 Managing IIS 6.0309

Before You Begin309

What's in a Name?309

Using MicrosoftIISv2310

Making the Connection311

Header Information311

Reference Information312

Worker and Output Information313

Creating a Website313

Header Information314

Reference Information315

Worker and Output Information316

Summary317

Quiz Yourself317

On Your Own318

Lab 38 Backing Up the Metabase318

Lab Instructions318

Lab 39 Importing the Metabase319

Lab Instructions320

20 Working with Exchange 2003323

Before You Begin323

Working with the Exchange Provider323

Connecting to MicrosoftExchangeV2325

The Exchange_QueueSMTPVirtualServer Class325

Header Information326

Reference Information326

Worker Information327

Output Information327

Exchange Public Folders327

Summary330

Quiz Yourself330

On Your Own331

Lab 40 Using the Exchange_Logon Class331

Lab Instructions331

Lab 41 Using the Exchange_Mailbox Class333

Lab Instructions333

Part 5 Appendices339

A VBScript Documentation339

Constants339

VBScript Run-Time Errors341

VBScript Syntax Errors342

B ADSI Documentation345

Computer Object Mapping345

Domain Object User Interface Mapping346

Group Object User Interface Mapping346

Object Property Sheet347

Organizational Unit User Interface Mapping348

Printer Object User Interface Mapping348

Shared Folder Object User Interface Mapping349

User Object User Interface Mapping349

C WMI Documentation353

Win32 Classes353

WMI Providers353

WMI Scripting API Objects355

WMI Log Files357

D Documentation Standards359

Header Information Section359

Reference Information Section359

Worker Information Section359

Sample of Documentation Use360

Index361

热门推荐