Mastering PowerShell Scripting
Packt Publishing Limited (Verlag)
978-1-80020-654-0 (ISBN)
Key Features
Automate complex tasks, manipulate data, and secure your environment
Work with dual code for PowerShell 7 and Windows PowerShell to maintain compatibility with older versions
See PowerShell in action, from learning the fundamentals to creating classes, scripts, and modules
Book DescriptionPowerShell scripts offer a convenient way to automate various tasks, but working with them can be daunting. Mastering PowerShell Scripting takes away the fear and helps you navigate through PowerShell's capabilities.This extensively revised edition includes new chapters on debugging and troubleshooting and creating GUIs (online chapter). Learn the new features of PowerShell 7.1 by working with parameters, objects, and .NET classes from within PowerShell 7.1.
This comprehensive guide starts with the basics before moving on to advanced topics, including asynchronous processing, desired state configuration, using more complex scripts and filters, debugging issues, and error-handling techniques. Explore how to efficiently manage substantial amounts of data and interact with other services using PowerShell 7.1. This book will help you to make the most of PowerShell's automation features, using different methods to parse data, manipulate regular expressions, and work with Windows Management Instrumentation (WMI).What you will learn
Optimize code with functions, switches, and looping structures
Test and debug your scripts as well as raising and catching errors
Work with objects and operators to test and manipulate data
Parse and manipulate different data types
Use jobs, runspaces, and runspace pools to run code asynchronously
Write .NET classes with ease within PowerShell
Create and implement regular expressions in PowerShell scripts
Make use of advanced techniques to define and restrict the behavior of parameters
Who this book is forThis 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.
Chris Dent is an automation specialist with deep expertise in the PowerShell language. Chris is often found answering questions about PowerShell in both the UK and virtual PowerShell user groups. Chris has been developing in PowerShell since 2007 and has released several modules over the years.
Table of Contents
Introduction to PowerShell
Modules and Snap-Ins
Working with Objects in PowerShell
Operators
Variables, Arrays, and Hashtables
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 and Troubleshooting
Erscheinungsdatum | 30.06.2021 |
---|---|
Verlagsort | Birmingham |
Sprache | englisch |
Maße | 191 x 235 mm |
Themenwelt | Informatik ► Betriebssysteme / Server ► Windows |
Informatik ► Betriebssysteme / Server ► Windows Server | |
ISBN-10 | 1-80020-654-2 / 1800206542 |
ISBN-13 | 978-1-80020-654-0 / 9781800206540 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
aus dem Bereich