This is the code repository for Mastering Windows PowerShell Scripting - Third Edition, published by Packt.
Automate and manage your environment using PowerShell Core 6.0
PowerShell scripts offer a handy way to automate various chores, however working effectively with these scripts can be a difficult task.
This book covers the following exciting features: Optimize code through the use of functions, switches, and looping structures Work with objects and operators to test and manipulate data Parse and manipulate different data types Create scripts and functions using PowerShell Use jobs, events, and popular public modules which assist with implementing multithreading
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter02.
The code will look like the following:
Get-Command -CommandType Cmdlet, Function | Where-Object
{
$metadata = New-Object
System.Management.Automation.CommandMetadata($_)
$metadata.ConfirmImpact -eq 'High'
}
Following is what you need for this book: If you are a system administrator who wants to become an expert in controlling and automating your Windows environment, then Mastering Windows PowerShell Scripting is for you. It is also ideal for those new to the PowerShell language.
With the following software and hardware list you can run all code files present in the book (Chapter 1-21).
Chapter | Software required |
---|---|
1-21 | Windows PowerShell and PowerShell Core |
13 | Visual Studio 2015 or 2017 Community Edition |
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.
Chris Dent is an automation specialist with a deep interest in the PowerShell language. Chris is often found lurking and 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.
Mastering Windows PowerShell Scripting - Second Edition
Click here if you have any feedback or suggestions.
If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.