Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Microsoft® Windows PowerShell Step by Step
Acknowledgments
About This Book
A Practical Approach to Scripting
Is This Book for Me?
Outline of This Book
Finding Your Best Starting Point
About the Companion CD
Installing the Scripts on Your Computer
Uninstalling the Scripts
System Requirements
Technical Support
1. Overview of Windows PowerShell
Understanding Windows PowerShell
Using Cmdlets
Installing Windows PowerShell
Deploying Windows PowerShell
Using Command Line Utilities
Security Issues with Windows PowerShell
Controlling Execution of PowerShell Cmdlets
Confirming Commands
Suspending Confirmation of Cmdlets
Working with Windows PowerShell
Accessing Windows PowerShell
Configuring Windows PowerShell
Supplying Options for Cmdlets
Working with the Help Options
Exploring Commands: Step-by-Step Exercises
One Step Further: Obtaining Help
Chapter 1 Quick Reference
2. Using Windows PowerShell Cmdlets
Understanding the Basics of Cmdlets
Using the Get-ChildItem Cmdlet
Using the Format-Wide Cmdlet
Leveraging the Power of Get-Command
Using the Get-Member Cmdlet
Using the New-Object Cmdlet
Creating a PowerShell Profile
Working with Cmdlets: Step-by-Step Exercises
One Step Further: Working with New-Object
Chapter 2 Quick Reference
3. Leveraging PowerShell Providers
Identifying the Providers
Understanding the Alias Provider
Understanding the Certificate Provider
Understanding the Environment Provider
Understanding File System Provider
Understanding the Function Provider
Understanding the Registry Provider
Understanding the Variable Provider
Exploring the Certificate Provider: Step-by-Step Exercises
One Step Further: Examining the Environment Provider
Chapter 3 Quick Reference
4. Using PowerShell Scripts
Why Write Windows PowerShell Scripts
Enabling Script Support
Running Windows PowerShell Scripts
Understanding Variables and Constants
Use of Variables
Use of Constants
Looping Through Code
Using the ForEach-Object Cmdlet
Using the For Statement
Using Do … While
Using Do … Until
Making Decisions
Using If … Elseif … Else
Using Switch
Creating Multiple Folders: Step-by-Step Exercises
One Step Further: Deleting Multiple Folders
Chapter 4 Quick Reference
5. Using WMI
Understanding the WMI Model
Working with Objects and Namespaces
Listing WMI Providers
Working with WMI Classes
Querying WMI
Obtaining Service Information: Step-by-Step Exercises
One Step Further: Working with Printers
Chapter 6 Quick Reference
6. Querying WMI
Alternate Ways to Connect to WMI
Tell Me Everything About Everything!
Selective Data from All Instances
Selecting Multiple Properties
Choosing Specific Instances
Utilizing an Operator
Where Is the Where?
Working with Software: Step-by-Step Exercises
One Step Further: Windows Environment Settings
Chapter 6 Quick Reference
7. Working with Active Directory
Creating Objects in Active Directory
Creating an Organizational Unit
ADSI Providers
LDAP Names
Binding
Creating Users
Working with Users
General User Information
Creating the Address Page
Deleting Users
Creating Multiple Organizational Units: Step-by-Step Exercises
One Step Further: Creating Multivalued Users
Chapter 7 Quick Reference
8. Leveraging the Power of ADO
Connecting to Active Directory with ADO
Creating More Effective Queries
Using Alternative Credentials
Modifying Search Parameters
Searching for Specific Types of Objects
What Is Global Catalog?
Using the SQL Dialect to Query Active Directory
Creating an ADO Query into Active Directory: Step-by-Step Exercises
One Step Further: Controlling How a Script Executes Against Active Directory
Chapter 8 Quick Reference
9. Managing Exchange 2007
Exploring the Exchange 2007 Cmdlets
Configuring Recipient Settings
Creating the User and the Mailbox
Reporting User Settings
Managing Storage Settings
Examining the Database
Managing Logging
Creating User Accounts: Step-by-Step Exercises
One Step Further: Configuring Message Tracking
Chapter 9 Quick Reference
A. Cmdlets Installed with Windows PowerShell
B. Cmdlet Naming
C. Translating VBScript to Windows PowerShell
Index
← Prev
Back
Next →
← Prev
Back
Next →