Mastering PowerShell – Second Edition

Key FeaturesFind quick solutions to automate your environment with easeWork with large amounts of data effortlessly with PowerShell data types and secure themPacked with real-world examples to automate and simplify the management of your Windows environmentBook DescriptionThis 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 learnOptimize code through the use of functions, switches, and looping structuresInstall PowerShell on your Linux systemUtilize variables, hashes, and arrays to store dataWork with Objects and Operators to test and manipulate dataParse and manipulate different data typesWrite .NET classes with ease within the PowerShellCreate and implement regular expressions in PowerShell scriptsDeploy applications and code with PowerShell’s Package management modulesCreate a template for deploying a web service with Desired State ConfigurationLeverage session-based remote managementManage files, folders, and registries through the use of PowerShellAutomate your Azure Cloud with PowerShellDiscover the best practices to manage Microsoft systemsAbout the AuthorChris Dent is a professional PowerShell developer based in and around London with over 8 years experience in that language alone. He is also proficient in C#, VBScript, Perl, and Python, but PowerShell is his favourite by a wide margin. He is also the author of dnshell.He describes himself as being a tool set / module developer (he rarely writes scripts in the one-off sense);he has a deep interested in formalised development approaches, continuous integration, secure coding practices, and creating supportable automation frameworks within organisations.His current specialisation sits on top of 15 years experience spread across (predominantly Microsoft) systems, (Juniper and Cisco) networking, and security.You can find him and some of his work on these links:

Author: Chris Dent

Learn more