Master the art of automating and managing your Windows environment using PowerShell
PowerShell is quickly becoming the de facto standard for scripting in Microsoft Windows environments. It enables the automation of otherwise complex tasks, providing interactivity between different products.
Beginning with PowerShell fundamentals, this book progresses by imparting the advanced skills required to master automation. You will learn how to deal with data and operations on various data types and structures, and see the techniques of data manipulation and parsing. Moving on, you will learn about the usage of regular expressions and comparison operators. Error handling techniques will enable you to identify and eliminate errors. This book also provides best practices for scripting and techniques to reduce the amount of code required to complete tasks.
By the end of this book, you will be able to create a variety of PowerShell scripts and successfully automate your environment and become the go-to person.
What You Will Learn
Utilize variables, hashes, and arrays to store data
Parse and manipulate different data types
Optimize code through the use of functions, switches, and looping structures
Create and implement regular expressions in PowerShell scripts
Leverage session-based remote management
Manage files, folders, and registries through the use of PowerShell
Discover the best practices to manage Microsoft systems
Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.