Learn PowerShell Scripting in a Month of Lunches, Second Edition, Video Edition; this book is the solution for all who need to automate their work in the Windows environment using PowerShell. In only 27 steps, you could be able to learn how to write, test, as well as structure portable scripts for Windows, Linux, and cloud systems. Soon, you can automatically remove these bulky manual tasks and write new scripts that create new tools and streamline processes.
“Learn PowerShell Scripting in a Month of Lunches, Second Edition, Video Edition” contains valuable information, from choosing a stable scripting environment to designing functions and scripts. You will also look at how to work with pipelines and errors and develop secure scripts. They include source control using Git and how to share and publish scripts that will help you master how to manage and share your tools like a pro. Updated for the latest version of PowerShell, many examples throughout the book demonstrate how PowerShell works on non-Windows systems, including both Linux and macOS.
Whether you are a complete PowerShell beginner or you want to brush up on your scripting, this book will help you to learn PowerShell easily. Thus, learning several basic skills will enable you to minimize the amount of time you spend on administrative work, which will make your work more interesting and less monotonous. Learn PowerShell Scripting in a Month of Lunches, Second Edition, Video Edition should help you as it is filled with modern approaches applicable regardless of the environment in which you work, and it is intended to provide you with the knowledge necessary to automate your work and increase effectiveness.
Learn PowerShell Scripting in a Month of Lunches, Second Edition, Video Edition Table of Contents:
- Part 1.
- Chapter 1. Before you begin
- Chapter 1. Is this book for you?
- Chapter 1. What you need for this book
- Chapter 1. How to use this book
- Chapter 1. Expectations
- Chapter 1. How to ask for help
- Chapter 1. Summary
- Chapter 2. Setting up your scripting environment
- Chapter 2. PowerShell
- Chapter 2. Administrative privileges and execution policy
- Chapter 2. Script editors
- Chapter 2. Our lab environment
- Chapter 2. Example code
- Chapter 2. Your turn
- Chapter 2. Summary
- Chapter 3. WWPD: What would PowerShell do?
- Chapter 3. Naming your tools
- Chapter 3. Naming parameters
- Chapter 3. Producing output
- Chapter 3. Don’t assume
- Chapter 3. Avoid innovation
- Chapter 3. Summary
- Chapter 4. Review: Parameter binding and the PowerShell pipeline
- Chapter 4. It’s all in the parameters
- Chapter 4. Pipeline: ByValue
- Chapter 4. ByPropertyName
- Chapter 4. Summary
- Chapter 5. Scripting language: A crash course
- Chapter 5. The If construct
- Chapter 5. The ForEach construct
- Chapter 5. The Switch construct
- Chapter 5. The Do/While construct
- Chapter 5. The For construct
- Chapter 5. Break
- Chapter 5. Summary
- Chapter 6. The many forms of scripting (and which to choose)
- Chapter 6. Thinking about tools
- Chapter 6. Thinking about controllers
- Chapter 6. Comparing tools and controllers
- Chapter 6. Some concrete examples
- Chapter 6. Control more
- Chapter 6. Lab
- Chapter 6. Summary
- Chapter 7. Scripts and security
- Chapter 7. Execution policy
- Chapter 7. PowerShell isn’t the default application
- Chapter 7. Running scripts
- Chapter 7. Recommendations
- Chapter 7. Summary
- Part 2.
- Chapter 8. Always design first
- Chapter 8. Tools are testable
- Chapter 8. Tools are flexible
- Chapter 8. Tools look native
- Chapter 8. For example
- Chapter 8. Your turn
- Chapter 8. Summary
- Chapter 9. Avoiding bugs: Start with a command
- Chapter 9. Breaking it down, and running it right
- Chapter 9. Running commands and digging deeper
- Chapter 9. Process matters
- Chapter 9. Know what you need
- Chapter 9. Your turn
- Chapter 9. Summary
- Chapter 10. Building a basic function and script module
- Chapter 10. Creating a script module
- Chapter 10. Prereq check
- Chapter 10. Running the command
- Chapter 10. Your turn
- Chapter 10. Summary
- Chapter 11. Getting started with advanced functions
- Chapter 11. Your turn
- Chapter 11. Summary
- Chapter 12. Objects: The best kind of output
- Chapter 12. Constructing and emitting output
- Chapter 12. A quick test
- Chapter 12. An object alternative
- Chapter 12. Enriching objects
- Chapter 12. Your turn
- Chapter 12. Summary
- Chapter 13. Using all the streams
- Chapter 13. Adding verbose and warning output
- Chapter 13. Doing more with -Verbose
- Chapter 13. Information output
- Chapter 13. Your turn
- Chapter 13. Summary
- Chapter 14. Simple help: Making a comment
- Chapter 14. Getting started
- Chapter 14. Going further with comment-based help
- Chapter 14. Broken help
- Chapter 14. Beyond comments
- Chapter 14. Your turn
- Chapter 14. Summary
- Chapter 15. Errors and how to deal with them
- Chapter 15. Bad handling
- Chapter 15. Two reasons for exception handling
- Chapter 15. Handling exceptions in your tool
- Chapter 15. Capturing the exception
- Chapter 15. Handling exceptions for non-commands
- Chapter 15. Going further with exception handling
- Chapter 15. Your turn
- Chapter 15. Summary
- Chapter 16. Filling out a manifest
- Chapter 16. Creating a new manifest
- Chapter 16. Examining the manifest
- Chapter 16. Your turn
- Chapter 16. Summary
- Part 3.
- Chapter 17. Changing your brain when it comes to scripting
- Chapter 17. Example 2
- Chapter 17. Your turn
- Chapter 17. Summary
- Chapter 18. Professional-grade scripting
- Chapter 18. Code clarity
- Chapter 18. Effective comments
- Chapter 18. Formatting your code
- Chapter 18. Meaningful variable names
- Chapter 18. Avoiding aliases
- Chapter 18. Logic over complexity
- Chapter 18. Providing help
- Chapter 18. Avoiding Write-Host and Read-Host
- Chapter 18. Sticking with single quotes
- Chapter 18. Not polluting the global scope
- Chapter 18. Being flexible
- Chapter 18. Prioritizing security
- Chapter 18. Striving for elegance
- Chapter 18. Summary
- Chapter 19. An introduction to source control with Git
- Chapter 19. What is Git?
- Chapter 19. Repository basics
- Chapter 19. Using Git with VS Code
- Chapter 19. Integrating with GitHub
- Chapter 19. Summary
- Chapter 20. Pestering your script
- Chapter 20. Problems with manual testing
- Chapter 20. Benefits of automated testing
- Chapter 20. Introducing Pester
- Chapter 20. Coding to be tested
- Chapter 20. What do you test?
- Chapter 20. Writing a basic Pester test
- Chapter 20. Summary
- Chapter 21. Signing your script
- Chapter 21. A word about certificates
- Chapter 21. Configure your script signing policy
- Chapter 21. Code-signing basics
- Chapter 21. Summary
- Chapter 22. Publishing your script
- Chapter 22. Exploring the PowerShell Gallery
- Chapter 22. Other publishing options
- Chapter 22. Before you publish
- Chapter 22. Ready, set, publish
- Chapter 22. Publishing scripts
- Chapter 22. Summary
- Part 4.
- Chapter 23. Squashing bugs
- Chapter 23. Dealing with syntax bugs
- Chapter 23. Dealing with results bugs
- Chapter 23. Dealing with logic bugs
- Chapter 23. Your turn
- Chapter 23. Summary
- Chapter 24. Enhancing script output presentation
- Chapter 24. Creating a default view
- Chapter 24. Your turn
- Chapter 24. Summary
- Chapter 25. Wrapping up the .NET Framework
- Chapter 25. Exploring a class
- Chapter 25. Making a wrapper
- Chapter 25. A more practical example
- Chapter 25. Your turn
- Chapter 25. Summary
- Chapter 26. Storing data—not in Excel!
- Chapter 26. Setting up everything
- Chapter 26. Using your database: Creating a table
- Chapter 26. Saving data to SQL Server
- Chapter 26. Querying data from SQL Server
- Chapter 26. Summary
- Chapter 27. Never the end
- Chapter 27. Taking your next step
- Chapter 27. What’s in your future?
- Chapter 27. Summary
Who is this course for?
- Anyone who has a Beginning to intermediate knowledge of PowerShell.
Click on the links below to Download Learn PowerShell Scripting in a Month of Lunches, Second Edition, Video Edition!
در حال پاسخ به :