CHAPTER 2

What's New in Windows PowerShell V2

IN THIS CHAPTER

Getting to Version 2

Introducing remoting and jobs

Reviewing advanced functions

Introducing modules

Utilizing eventing

Introducing the ISE

Reviewing transactions

Using debugging and error handling

Describing new cmdlets in V2

This chapter looks at what's new in Windows PowerShell Version 2 (V2). The chapter begins with a short look at how we got to V2 before looking at key features added in Version 2. Like Chapter 1, this chapter does not go into a huge amount of detail about these features. You can take advantage of the about_* text files to read additional conceptual information that can help you to understand more about the new features.

The Road to V2

The road from Windows PowerShell Version 1 to Version 2 was an interesting one. Microsoft went from V1 to V2 via a set of Community Technology Preview (CTP) releases, which were supported by an active newsgroup. Initially, V2 was an out-of-band project; but for the final release, Microsoft also took Windows PowerShell into Windows as a full component. This move was great news for the future of Windows PowerShell!

Like most product teams at Microsoft, shipping a version of a product is a cause for celebration; but after a day or two, it's back to work on the next version. And so it was for the Windows PowerShell team on their road to V2. Hardly any time seemed to elapse between shipping V1 and the release of the V2 interim, prerelease builds.

The Version 2 Betas

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.