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
Description
PowerShell 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).
Who is this book 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.
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
Pubblicazioni interessanti scritti con il giusto livello tecnico ma soprattutto in modo chiaro.
Feefo Verified review
JoeyASep 03, 2021
5
Well written book. Great coverage of a variety of topics. Succinct, specific examples provided.I purchased this to have a "master reference" covering a wide gamut of PowerShell. The book delivers!
Amazon Verified review
Jamaal GervaisNov 19, 2023
5
I have no regrets getting this book! Excellent reference for my future scripts. Easy to digest and there was no fluff.
Amazon Verified review
Alexander WittigAug 05, 2021
5
I am a PowerShell enthusiast myself, this book is a roundhouse kick of Powershell! It's full of gems and little tricks and hints. From the basics, what is an object, to building GUIs and a ton of info about PowerShell 7 and its features. “PowerShell in a Month of Lunches’ used to by my go to I recommended new people, this is my new ‘goto’, it covers just about anything you want to do with PowerShell.
Amazon Verified review
Girard and NatalieSep 20, 2021
5
As an IT Pro of over 15 years & using PowerShell for 5 or more of them, this book was so resourceful in assisting me when getting stuck on scripting a new tool to assist in my day to day! A must read for any IT Pro the author did an incredible job of covering the PowerShell platform in full detail!
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.
Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.
If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.
Please Note: Packt eBooks are non-returnable and non-refundable.
Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:
You may make copies of your eBook for your own use onto any machine
You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website?
If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:
Register on our website using your email address and the password.
Search for the title by name or ISBN using the search option.
Select the title you want to purchase.
Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title.
Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook?
If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
To view your account details or to download a new copy of the book go to www.packtpub.com/account
Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.
You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.
What are the benefits of eBooks?
You can get the information you need immediately
You can easily take them with you on a laptop
You can download them an unlimited number of times
You can print them out
They are copy-paste enabled
They are searchable
There is no password protection
They are lower price than print
They save resources and space
What is an eBook?
Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.
When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.
For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.