Summary

In this chapter, we discussed the general best practices for PowerShell. We also discussed two sample scripts. The scripts that I used were not the final ones; they contain some portions that do not adhere to the best practices. I discussed those points and mentioned them here. It is intentional as I want you to work on it and give suggestions so that we can rectify this script. It is a task and challenge for you.

In the entire book, I have not given any tasks for practice. These two scripts are the practice scripts for you. Visit my blog and comment there so that we can take it forward. These scripts might not be useful to you in their current state, but they were provided as a starting point to help sharpen your skills.

I plan to host ...

Get Mastering PowerCLI now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.