Chapter 1. Welcome to PowerShell

1.1

What is PowerShell?

5

1.2

Soul of a new language

8

1.3

Brushing up on objects

10

1.4

Dude! Where’s my code?

13

1.5

Summary

23

 

Space is big. Really big. You just won’t believe how vastly hugely mind-bogglingly big it is. I mean you may think it’s a long way down the road to the chemist, but that’s just peanuts compared to space.

Don’t Panic.

 
 --Douglas Adams, The Hitchhiker’s Guide to the Galaxy

Welcome to Windows PowerShell, the new command and scripting language from Microsoft. We begin this chapter with two quotes from The Hitchhiker’s Guide to the Galaxy. What do they have to do with a new scripting language? In essence, where a program solves a particular problem or problems, a programming language can solve any problem, ...

Get Windows PowerShell in Action 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.