Название: Learn PowerShell Scripting in a Month of Lunches: Write and organize scripts and tools, 2nd Edition (Final Release) Автор: James Petty Издательство: Manning Publications Год: 2024 Страниц: 337 Язык: английский Формат: pdf (true) Размер: 19.4 MB
Automate complex tasks and processes with PowerShell scripts. This amazing book teaches you how to write, test, and organize high-quality, reusable scripts for Windows, Linux, and cloud-based systems.
Learn PowerShell Scripting in a Month of Lunches, Second Edition takes you beyond command-line PowerShell and opens up the amazing world of scripting and automation. In just 27 bite-sized lessons, you’ll learn to write scripts that can eliminate repetitive manual tasks, create custom reusable tools, and build effective pipelines and workflows.
Throughout these pages, you’ll find practical examples, hands-on exercises, and real-world scenarios that will enhance your PowerShell skills and equip you with the confidence to apply them in your daily tasks. This book covers various topics, from the fundamentals to advanced scripting techniques, to ensure a comprehensive understanding of PowerShell.
Divided into four parts, the book systematically builds and enhances PowerShell scripting skills. Part 1 serves as a foundational gateway, laying prerequisites and considerations for script creation. Transitioning to Part 2, readers move from foundational concepts to practical implementation, crafting robust PowerShell scripts focusing on design principles and strategic thinking. Part 3, the sophisticated phase, explores advanced techniques and professional-grade practices, challenging conventional thinking and emphasizing security. The concluding Part 4 delves into advanced scripting intricacies, defining mastery in the scripting domain.
In Learn PowerShell Scripting in a Month of Lunches, Second Edition you’ll learn:
Setting up a reliable scripting environment Designing functions and scripts Effective pipeline usage Scripting and security Dealing with errors and bugs Source control with git Sharing and publishing scripts Professional-grade scripting practices
The PowerShell language lets you write scripts to control nearly every aspect of Windows. Just master a few straightforward scripting skills, and you'll save yourself from hours of tedious tasks. This revised second edition is fully updated to PowerShell’s latest version, including hands-on examples that perfectly demonstrate modern PowerShell’s cross-platform applications.
About the technology:
You can write PowerShell scripts to automate nearly any admin task on Windows, Linux, and macOS. This book shows you how! In just 27 short lessons you can complete on your lunch break, you’ll learn to create, organize, test, and share scripts and tools that will save you hours of time in your daily work.
About the book:
Learn PowerShell Scripting in a Month of Lunches, Second Edition is a hands-on introduction to PowerShell automation and toolbuilding. Updated for the latest version of PowerShell, this thoroughly revised bestseller teaches you how to write efficient scripts, find and squash bugs, and organize your tools into libraries. Along the way, you’ll even pick up tips for securing and managing Linux and macOS systems.
What's inside:
Setting up a reliable scripting environment Designing functions and scripts Effective pipeline usage Sharing and publishing scripts
Who should read this book: Designed for IT professionals, system administrators, and those aiming to gain practical skills in PowerShell scripting, Learn PowerShell Scripting in a Month of Lunches is also accessible to beginners. However, we recommend beginners initiate their learning journey with Learn PowerShell in a Month of Lunches, Fourth Edition (Manning, 2022), for a comprehensive foundation. Tailored for individuals with limited scripting experience, the content employs a structured, hands-on approach to mastering PowerShell. Whether you’re a newcomer to scripting or pursuing practical automation and system administration skills, this book provides valuable insights. Building on the foundational knowledge in Learn PowerShell in a Month of Lunches enhances the learning experience, facilitating a smoother transition to more advanced scripting concepts within these pages.
This book, Learn PowerShell Scripting in a Month of Lunches, is geared toward a structured and hands-on learning approach, especially for day-to-day tasks, automation, and system administration. You’ll find this book is an invaluable resource. The Month of Lunches format ensures a manageable and structured learning path, catering to busy professionals aiming to integrate PowerShell into their workflow efficiently. Whether operating in a Windows environment or managing Microsoft technologies, Learn PowerShell Scripting in a Month of Lunches equips you with the essential knowledge and practical skills required to harness PowerShell’s power for scripting and automation tasks.
About the author: James Petty is CEO of PowerShell.org and The DevOps Collective and a Microsoft MVP. Don Jones and Jeffery Hicks are the authors of the first edition of Learn PowerShell Scripting in a Month of Lunches.
PART 1 1 Before you begin 2 Setting up your scripting environment 3 WWPD: What would PowerShell do? 4 Review: Parameter binding and the PowerShell pipeline 5 Scripting language: A crash course 6 The many forms of scripting (and which to choose) 7 Scripts and security PART 2 8 Always design first 9 Avoiding bugs: Start with a command 10 Building a basic function and script module 11 Getting started with advanced functions 12 Objects: The best kind of output 13 Using all the streams 14 Simple help: Making a comment 15 Errors and how to deal with them 16 Filling out a manifest PART 3 17 Changing your brain when it comes to scripting 18 Professional-grade scripting 19 An introduction to source control with Git 20 Pestering your script 21 Signing your script 22 Publishing your script PART 4 23 Squashing bugs 24 Enhancing script output presentation 25 Wrapping up the .NET Framework 26 Storing data—not in Excel! 27 Never the end
Скачать Learn PowerShell Scripting in a Month of Lunches: Write and organize scripts and tools, 2nd Edition (Final Release)
Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.