Mastering PowerShell, 2nd Edition
- Length: 543 pages
- Edition: 2nd Revised edition
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2018-01-04
- ISBN-10: 1787126307
- ISBN-13: 9781787126305
- Sales Rank: #351288 (See Top 100 Books)
Key Features
- Find quick solutions to automate your environment with ease
- Work with large amounts of data effortlessly with PowerShell data types and secure them
- Packed with real-world examples to automate and simplify the management of your Windows environment
Book Description
This comprehensive guide starts from scratch and covers advanced-level topics to make you a PowerShell expert. The first module, PowerShell Fundamentals, begins with new features, installing PowerShell on Linux, working with parameters and objects, and also how you can work with .NET classes from within PowerShell.
In the next module, you’ll see how to efficiently manage large amounts of data and interact with other services using PowerShell. You’ll be able to make the most of PowerShell’s powerful automation feature, where you will have different methods to parse and manipulate data, regular expressions, WMI, and interact with the COM.
After automation, you will enter the Extending PowerShell module, which covers topics such as asynchronous processing and, creating modules and GUIs. The final step is to secure your PowerShell, so you will land in the last module, Securing and Debugging PowerShell, which covers PowerShell execution policies, error handling techniques, and testing. At the end of the book, you will get your hands-on experience with some powerful best practices.
By the end of the book, you will be an expert in using the PowerShell language.
What you will learn
- Optimize code through the use of functions, switches, and looping structures
- Install PowerShell on your Linux system
- Utilize variables, hashes, and arrays to store data
- Work with Objects and Operators to test and manipulate data
- Parse and manipulate different data types
- Write .NET classes with ease within the PowerShell
- Create and implement regular expressions in PowerShell scripts
- Deploy applications and code with PowerShell’s Package management modules
- Create a template for deploying a web service with Desired State Configuration
- Leverage session-based remote management
- Manage files, folders, and registries through the use of PowerShell
- Automate your Azure Cloud with PowerShell
- Discover the best practices to manage Microsoft systems
Table of Contents
Chapter 1. Introduction To Powershell
Chapter 2. Working With Powershell
Chapter 3. Modules And Snap-Ins
Chapter 4. Working With Objects In Powershell
Chapter 5. Operators
Chapter 6. Variables, Arrays, And Hashtables
Chapter 7. Branching And Looping
Chapter 8. Working With .Net
Chapter 9. Data Parsing And Manipulation
Chapter 10. Regular Expressions
Chapter 11. Files, Folders, And The Registry
Chapter 12. Windows Management Instrumentation
Chapter 13. Html, Xml, And Json
Chapter 14. Working With Rest And Soap
Chapter 15. Remoting And Remote Management
Chapter 16. Testing
Chapter 17. Error Handling