Mastering Windows PowerShell Scripting – Second Edition: One-stop guide to automating administrative tasks

Master the art of automating and managing your environment using PowerShellKey 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 DescriptionPowerShell scripts offer a handy way to automate various chores. Working with these scripts effectively can be a difficult task.This 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, and WMI.After automation, you will enter the Extending PowerShell module, which covers topics such as asynchronous processing and, creating modules. 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.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 modulesLeverage session-based remote managementManage files, folders, and registries through the use of PowerShellWho This Book Is ForIf you are a system administrator who wants to become an expert in controlling and automating your Windows environment, then this book is for you. It is also for those new to the PowerShell language.Table of ContentsIntroduction to PowerShellWorking with PowerShellModules and Snap-InsWorking with Objects in PowerShellOperatorsVariables, Hashtables, and ArraysBranching and loopingWorking with .NETData parsing and manipulationRegular ExpressionsFiles, folders and the RegistryWindows Management InstrumentationHTML, XML and JSONWorking with REST and SOAP web interfaceRemoting and remote managementTestingError Handling

Author: Chris Dent

Learn more