The book you need to succeed! Vbscript, jscript



Yüklə 12,95 Mb.
Pdf görüntüsü
səhifə9/91
tarix07.11.2018
ölçüsü12,95 Mb.
#78682
1   ...   5   6   7   8   9   10   11   12   ...   91

xxii
 
 Contents
Managing Active Directory Domain Extensions
Chapter 20: 
 . . . . . . . . . . . . 439
Working with Naming Contexts and the RootDSE Object ............................................... 439
Binding to a naming context ................................................................................... 439
Using RootDSE properties ......................................................................................440
Accessing Active Directory Schema ..................................................................................444
Installing and starting ADSI Edit ............................................................................444
Examining the domain-naming context .................................................................445
Common Active Directory objects ..........................................................................447
Managing Computer Objects with LDAP .........................................................................448
Active Directory computer object properties ..........................................................448
Creating and deleting computer accounts with LDAP ............................................ 451
Moving and renaming computer accounts with LDAP ...........................................452
Enabling and disabling computer accounts with LDAP ..........................................454
Managing Contacts with LDAP ........................................................................................ 455
Managing Groups with LDAP ...........................................................................................459
Active Directory group object properties ................................................................459
Creating groups with LDAP ....................................................................................460
Deleting, moving, and renaming groups with LDAP ..............................................462
Checking group membership with LDAP ...............................................................464
Adding and removing group members with LDAP .................................................465
Working with Organizational Units .................................................................................466
Examining organizational unit properties ..............................................................466
Creating organizational units .................................................................................467
Modifying organizational units ..............................................................................468
Moving, renaming, and deleting organizational units ............................................469
Managing User Accounts with LDAP ............................................................................... 470
Examining user object properties with LDAP ......................................................... 470
Creating user accounts with LDAP ......................................................................... 474
Setting user account fl ags ....................................................................................... 476
Viewing group membership .................................................................................... 478
Moving, renaming, and deleting user accounts with LDAP .................................... 478
Summary .......................................................................................................................... 479
Part IV: Windows PowerShell
Input, Output, and Error Handling in PowerShell 
Chapter 21: 
 . . . . . . . . . . 483
Output to the Console  .....................................................................................................483
A Little Diversion into Strings  .........................................................................................484
Implicit and Explicit Output  ...........................................................................................490
Verbose and Debug Output ..............................................................................................492
Managing Different Outputs from Cmdlets ......................................................................494
More on Error Output  .....................................................................................................496
Session Transcripts ...........................................................................................................499
86804ftoc.indd   xxii
86804ftoc.indd   xxii
1/22/09   11:53:41 AM
1/22/09   11:53:41 AM


xxiii
 
Contents  
Tracking Progress ............................................................................................................. 501
Taking More Control of Formatting..................................................................................502
Sorting and Selecting Fields  ............................................................................................505
Changing How PowerShell Formats Objects ....................................................................509
Creating Custom Objects on Demand .............................................................................. 512
Techniques for Switching in Output ................................................................................. 514
Additional Output Cmdlets  ............................................................................................. 515
Outputting in Specifi c File Formats ................................................................................. 516
Every Export Has a Corresponding Import ...................................................................... 518
More on Selecting Text .....................................................................................................520
User Input ........................................................................................................................ 521
Summary ..........................................................................................................................522
Working with Files and the Registry in PowerShell
Chapter 22: 
 . . . . . . . . . . 523
Using PSDrives, Accessing the File System, Mapping Drives ............................................523
Changing (setting) locations ...................................................................................526
Getting child items (a.k.a. getting a directory) and testing paths ............................526
Copying, deleting and renaming fi les  ....................................................................529
Creating and deleting directories ............................................................................530
File properties and attributes .................................................................................. 531
Viewing and setting ACL permissions .................................................................... 531
Working with fi le items: reading their content, creating and adding to them ......... 533
Selecting strings and working with text data ..........................................................534
Parsing text  ............................................................................................................536
Working with the Registry ..................................................................................... 537
Summary ..........................................................................................................................539
Event Logging, Services, and
Chapter 23: 
Process Monitoring with PowerShell  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 541
Working with Services ..................................................................................................... 541
Starting, Stopping, Suspending, Resuming, and Restarting Services................................545
Stopping a service  ..................................................................................................545
Starting a service ....................................................................................................546
Restarting a service  ................................................................................................546
Suspending and resuming services .........................................................................547
Confi guring services  ..............................................................................................548
Working with Processes ...................................................................................................549
Starting, fi nding, and stopping processes ...............................................................549
Working with Event Logs ................................................................................................. 552
Clearing an event log .............................................................................................. 552
Exporting event logs  .............................................................................................. 553
Finding entries in the event log ..............................................................................554
Summary .......................................................................................................................... 556
86804ftoc.indd   xxiii
86804ftoc.indd   xxiii
1/22/09   11:53:41 AM
1/22/09   11:53:41 AM


Yüklə 12,95 Mb.

Dostları ilə paylaş:
1   ...   5   6   7   8   9   10   11   12   ...   91




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©genderi.org 2024
rəhbərliyinə müraciət

    Ana səhifə