Ford, J. L. (2009). Microsoft Windows PowerShell 2.0 programming for the absolute beginner, second edition. Boston, MA: Course Technology.Please read:
Chapter 1: “Introducing Windows Power Shell”
Chapter 2: “Interacting with the Windows Power Shell Command Line and Graphical Environment”
Chapter 4: “Working with Variables, Arrays, and Hashes”
Chapter 5: “Implementing Conditional Logic”