Contents

Introduction

Part I: Introduction

Chapter 1: Introduction to Windows PowerShell

Managing Windows — The Challenges of the Past

Management in the Early Days

Management with Windows NT

Management with Windows Server 2003

Introducing Windows PowerShell

What Is Windows PowerShell?

Windows PowerShell as a Task Automation Platform

Windows PowerShell's Scripting Language

Windows PowerShell in Production Scripts and Admin GUIs

Key Windows PowerShell Concepts

Cmdlets

Objects

The Pipeline

Discovery and the Community

Get-Help

Get-Command

Get-Member

The Windows PowerShell Community

Windows PowerShell Language Constructs

Variables

Operators

Expressions

Providers

Formatting Output

Default Formatting

Formatting Using Format-Table and Format-List

Formatting with Windows PowerShell Hashtables

Scripting

What Is a Script?

Alternation or Conditional Execution

Iteration — Operating on a Collection or Array

Error and Exception Handling

Extending Windows PowerShell with Snap-ins and Modules

Windows PowerShell Snap-ins

Windows PowerShell Modules

Installing Windows PowerShell

Windows PowerShell Version Support

Getting Windows PowerShell for Downlevel OSs

Script Security and Execution Policy

Customizing Windows PowerShell with Profiles

What Is a Profile?

Where Are Your Profiles?

Managing Profiles in the Enterprise

Summary

Chapter 2: What's New in Windows PowerShell V2

The Road to V2

The Version 2 Betas

V2 in Windows 7/R2

V2 on Downlevel OSs

Using Remoting

What Is Remoting?

Windows PowerShell Remoting ...

Get Windows PowerShell® 2.0 Bible now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.