Mastering PowerCLI

More Information
  • Use GitHub for collaboration and Pester to automate unit tests
  • Write advanced reusable functions and dynamic variables and learn about error handling in PowerShell
  • Automate ESXi host installation using Auto-Deploy, host profile, and host image
  • Implement security best practices in a vSphere data center
  • Manage SRM, vCloud Air, and vRealize Operations environments
  • Access and utilize vSphere APIs to manage advanced aspects of vSphere and work with .NET view objects
  • Utilize REST APIs to manage vRealize Automation environments
  • Create a Windows GUI through the use of PowerShell and Sapien PrimalForms CE

Have you ever wished that every morning you could automatically get a report with all the relevant information about your datacenter in exactly the same format you want? Or whether you could automate that boring, exhausting task? What if some crucial task needs to be performed on a regular basis without any error? PowerCLI scripts do all that and much more for VMware environments. It is built on top of the popular Windows PowerShell, with which you can automate server tasks and reduce manual input, allowing you to focus on more important tasks.

This book will help you to achieve your goals by starting with a short refresher on PowerShell and PowerCLI and then covering the nuances of advanced functions and reusable scripts. Next you will learn how to build a vSphere-powered virtualized datacenter using PowerCLI while managing different aspects of the environment including automated installation, network, and storage. You will then manage different logical constructs of vSphere environment and different aspects of a virtual machine.

Later, you will implement the best practices for a security implementation in vSphere Environment through PowerCLI before discovering how to manage other VMware environments such as SRM, vCloud Director and vCloud Air through PowerCLI. You will also learn to manage vSphere environments using advanced properties by accessing vSphere API and REST APIs through PowerCLI.

Finally, you will build a Windows GUI application using PowerShell followed by a couple of sample scripts for reporting and managing vSphere environments with detailed explanations of the scripts. By the end of the book, you will have the required in-depth knowledge to master the art of PowerCLI scripting.

  • Leverage PowerCLI to perform administration tasks in a more effective and efficient way
  • Escape from daily tedious and repetitive tasks by unleashing the full potential of your creative side through scripting
  • Master the intricate workings of PowerShell and PowerCLI through easy and real-life examples
Page Count 430
Course Length 12 hours 54 minutes
ISBN 9781785286858
Date Of Publication 15 Oct 2015


Sajal Debnath

Sajal Debnath is a highly certified Cloud computing technocrat with more than 12 years of experience in virtualized data center design, Cloud computing, and BC/DR solutions. He is an EMCISA, VCAP-DCD/DCA, VCAP-CID/CIA, RHCE 4/5/6, RHCVA, Openstack, and ITIL certified person. He is presently associated with VMware Software India Pvt. Ltd. as a senior system engineer. Previously, he worked with France Telecom, Hewlett Packard, and many more in multiple roles. He is involved in prestigious Indian government projects, such as National Cloud, Digital Locker, and so on.