Since PowerShell is layered on the .NET Framework, you already know from Chapter 6 how you can use .NET code in PowerShell to make up for missing...
ebook
Chapter 19. User Management
Chapter 18. WMI: Windows Management Instrumentation
Chapter 17. Processes, Services, and Event Logs
In your daily work as an administrator, you will probably often deal with applications (processes), services, and event logs so let’s take some of...
Chapter 16. Managing Windows Registry
Chapter 15. Working with the File System
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 13. Text and Regular Expressions
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 11. Error Handling
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 9. Functions
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 4. Arrays and Hashtables
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,...