ebook

Chapter 14. XML

In today’s world, data is no longer presented in plain-text files. Instead, XML (Extensible Markup Language) has evolved to become a de facto...

Chapter 12. Managing Scope

Anything you define in PowerShell - variables, functions, or settings - have a certain life span. Eventually, they expire and are automatically...

Chapter 10. Scripts

PowerShell can be used interactively and in batch mode. All the code that you entered and tested interactively can also be stored in a script file....

Chapter 8. Loops

Loops repeat PowerShell code and are the heart of automation. In this chapter, you will learn the PowerShell loop constructs. Topics Covered:...

Chapter 7. Conditions

Conditions are what you need to make scripts clever. Conditions can evaluate a situation and then take appropriate action. There are a number of...

Chapter 6. Working with Objects

In this chapter, you will learn what objects are and how to get your hands on PowerShell objects before they get converted to simple text. Topics...

Chapter 5. The PowerShell Pipeline

The PowerShell pipeline chains together a number of commands similar to a production assembly. So, one command hands over its result to the next,...

Chapter 3. Variables

It is time to combine commands whenever a single PowerShell command can't solve your problem. One way of doing this is by using variables....

Chapter 2. Interactive PowerShell

PowerShell has two faces: interactivity and script automation. In this chapter, you will first learn how to work with PowerShell interactively....

Chapter 1. The PowerShell Console

Welcome to PowerShell! This chapter will introduce you to the PowerShell console and show you how to configure it, including font colors and sizes,...