PowerShell Advanced Cookbook
Author | : Morten Elmstrøm Hansen |
Publisher | : BPB Publications |
Total Pages | : 846 |
Release | : 2024-05-28 |
ISBN-10 | : 9789355516732 |
ISBN-13 | : 9355516738 |
Rating | : 4/5 (32 Downloads) |
Download or read book PowerShell Advanced Cookbook written by Morten Elmstrøm Hansen and published by BPB Publications. This book was released on 2024-05-28 with total page 846 pages. Available in PDF, EPUB and Kindle. Book excerpt: Fully unleash your scripting powers and capabilities with PowerShell KEY FEATURES ● PowerShell administration fundamentals. ● Advanced scripting and automation. ● Enterprise and cloud administration. DESCRIPTION PowerShell is a powerful scripting language, automation framework and command-line shell developed by Microsoft that is built on the .NET framework. It is an essential tool because it allows system administrators and developers to automate and optimize complex administrative tasks across multiple systems efficiently. PowerShell's deep integration with Windows and other Microsoft products makes it an invaluable tool for administrating, managing and optimizing Windows environments. Designed as a cookbook, this book enables readers to expand and build upon their current PowerShell knowledge and skillset. Topics covered in detail include creating PowerShell unit tests using Pester, managing and administrating Azure and AWS cloud services, remote script execution, Active Directory management, PowerShell desired state configuration and more. Each chapter includes recipes that delves into the topics, accompanied by code examples and walkthroughs. After reading this book, readers would have gained the knowledge and skills that will enable them to build better and more advanced scripts and applications while also understanding key principles of automation and optimization. This will also aid the readers to streamline processes and enhance administrative tasks more efficiently using PowerShell. WHAT YOU WILL LEARN ● Develop advanced PowerShell functions, classes, and scripts with sophisticated flow control. ● Manage errors effectively, including custom error classes, in scripts and background jobs. ● Securely handle remote sessions using PowerShell remoting for enhanced management. ● Utilize Pester for unit testing and mocking dependencies, ensuring script reliability. ● Administer Active Directory objects and cloud services like Azure and AWS, including Microsoft 365 applications. ● Build GUI applications and Windows services from PowerShell scripts with SAPIEN PowerShell studio IDE. WHO THIS BOOK IS FOR This book is intended for developers and system administrators with a novice or intermediate understanding of PowerShell who are looking to advance their skills. TABLE OF CONTENTS 1. Introduction to Advanced PowerShell Concepts 2. Advanced PowerShell Functions 3. Flow Control and Looping 4. Error Handling 5. Scripting Techniques 6. Remote Script Execution: PowerShell Remote Management 7. Testing with Pester 8. Working with XML and JSON 9. Active Directory Management 10. Managing Azure with PowerShell 11. Managing AWS with PowerShell 12. Microsoft 365 Applications Management 13. Desired State Configuration 14. Managing Windows Components 15. SAPIEN PowerShell Studio IDE