In this chapter, we covered advanced functions, how to write them, and details of different attributes. Next, we learned about help files in PowerShell and how we can write our own help files using comment-based help. At the end, we learned how we can use different methods of error handling in PowerShell or how we can troubleshoot scripts. Although we did not cover all aspects of these topics, we did cover those topics required for advanced script writing.
In the next chapter, we will dive into PowerCLI and cover how to build ESXi images using Image Builder. Next, we will cover how to auto deploy an ESXI host, add a host to a vCenter server, and how to use host profiles in the ESXi environment using PowerCLI.