Free Download Mastering PowerShell Scripting - Fifth Edition: Automate repetitive tasks and simplify complex administrative tasks using PowerShell by Chris Dent
English | May 24, 2024 | ISBN: 1805120271 | 826 pages | EPUB | 11 Mb
Use PowerShell to save time and reduce the potential for human error by writing scripts that automate the execution of tasks
Key Features
- Explores PowerShell as a programming language
- Take advantage of the features built into the PowerShell language in day-to-day automation
- Automation of complex tasks, data manipulation, and environment security
Book Description
Mastering PowerShell Scripting, Fifth Edition, can help you overcome any fears and become proficient in navigating PowerShell's capabilities. This edition includes new chapters on debugging, troubleshooting, and creating GUIs. You will learn about the latest features of PowerShell 7.3, including working with parameters, objects, and .NET classes. The book covers basic and advanced topics, such as asynchronous processing, desired state configuration, managing large amounts of data, interacting with other services, and working with regular expressions and Windows Management Instrument (WMI). Discover how to efficiently use PowerShell's automation features and error-handling techniques for more complex scripts and filters.
Starting with foundational knowledge, this extensive guide progresses to advanced concepts like using complex scripts and filters, asynchronous processing, desired state configuration, debugging, and error-handling techniques. You will learn how to effectively handle large data sets and interact with external services using PowerShell 7.3. Additionally, you'll discover how to fully utilize PowerShell's automation capabilities, including parsing data, manipulating regular expressions, and working with WMI using various methods.
What you will learn
- Create scripts that can be run on different systems
- PowerShell is highly extensible and can integrate with other programming languages
- Discover the powerful command-line interface that enables users to perform various operations with ease
- Create reusable scripts and functions in PowerShell
- Utilize PowerShell for various purposes, including system administration, automation, and data processing
- Integrate PowerShell with other technologies such as .NET, COM, and WMI
- Work with common data formats such as XML, JSON, and CSV in PowerShell
- Create custom PowerShell modules and cmdlets to extend its functionality
Who this book is for
This book is for system administrators who want to automate and speed up their processes using PowerShell and Windows PowerShell. You'll need to know the basics of operating systems, but beginners with no prior experience with PowerShell will have no trouble following along.
Table of Contents
- Introduction to PowerShell
- Modules
- Variables, Arrays, and Hashtables
- Working with Objects in PowerShell
- Operators
- Conditional Statements and Loops
- Working with .NET
- Strings, Numbers, and Dates
- Regular Expressions
- Files, Folders, and the Registry
- Windows Management Instrumentation
- Working with HTML, XML, and JSON
- Web Requests and Web Services
- Remoting and Remote Management
- Asynchronous Processing
- Graphical user interfaces
- Scripts, Functions, and Script Blocks
- Parameters, Validation, and Dynamic Parameters
- Classes and Enumerations
- Building Modules
- Testing
- Error Handling
- Debugging