Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying PowerCLI Cookbook
  • Table Of Contents Toc
PowerCLI Cookbook

PowerCLI Cookbook

By : Philip Brandon Sellers
4.8 (4)
close
close
PowerCLI Cookbook

PowerCLI Cookbook

4.8 (4)
By: Philip Brandon Sellers

Overview of this book

If you are a virtualization professional who wants to unleash the power of automation and combat the complexity of sprawling virtual environments, this book is ideal for you. This book will enhance your skills of administering VMware vSphere and vCloud Director with PowerCLI.
Table of Contents (13 chapters)
close
close
12
Index

Deploying the first virtual machine

To begin deploying your first virtual machine from PowerCLI, the first thing you will notice about this recipe is the number of parameters that you are going to need to specify in order to create a new virtual machine. There are a lot of things that go into defining a fully functioning server including basic things such as the number of processors, the amount of RAM, the number and the size of the virtual disks, and a name. Other parameters that are required are going to be specific to the virtual environment, such as defining the host, the VM folder, and the resource pool that the VM is going to reside in.

Getting Started

To begin this recipe, you will need to open a PowerCLI window and connect to a vCenter server.

How to do it…

  1. Creating a new VM using PowerCLI uses the New-VM cmdlet. The first parameter will have a name, which is the identifier that you will use in other cmdlets to identify this VM. Try to execute the cmdlet and look at the error...
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
PowerCLI Cookbook
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon