Summary

In this chapter, we covered working with ESXi hosts using PowerCLI. You saw how to add and remove hosts to and from your vSphere vCenter Server inventory. We looked at putting a host in maintenance mode and how to exit maintenance mode. We have seen how PowerCLI commands work with host profiles and host services. You learned to use the PowerCLI commands for Image Builder and Auto Deploy and finally the use of the esxcli command and the vSphere CLI commands from PowerCLI was discussed.

The next chapter will be about managing virtual machines with PowerCLI.

Get Learning 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.