search
Subscription
0
cart
close
You have no products in your basket yet
left
Tech Categories
Tech Categories
Data Web Development Programming Cloud and Networking Security Game Development Mobile IoT and Hardware Business and Other
Best Sellers
Tech Categories
Data Web Development Programming Cloud and Networking Security Game Development Mobile IoT and Hardware Business and Other
Best Sellers
New Releases
Tech Categories
Data Web Development Programming Cloud and Networking Security Game Development Mobile IoT and Hardware Business and Other
New Releases
Books
Tech Categories
Data Web Development Programming Cloud and Networking Security Game Development Mobile IoT and Hardware Business and Other
Popular Books
Videos
Tech Categories
Data Web Development Programming Cloud and Networking Security Game Development Mobile IoT and Hardware Business and Other
Popular Videos
Audiobooks
Tech Categories
Data Web Development Programming Cloud and Networking Security Game Development Mobile IoT and Hardware Business and Other
Popular Audiobooks
Articles
Newsletters
right
Learning PowerCLI - Second Edition

Learning PowerCLI: A comprehensive guide on PowerCLI, Second Edition

By Robert van den Nieuwendijk
Can$55.99 Can$38.99
Book Feb 2017 562 pages 2nd Edition
eBook
Can$55.99 Can$38.99
Print
Can$69.99
Subscription
Free Trial Monthly
eBook
Can$55.99 Can$38.99
Print
Can$69.99
Subscription
Free Trial Monthly

What do you get with eBook?

Feature icon Instant access to your Digital eBook purchase
Feature icon Download this book in EPUB and PDF formats
Feature icon Access this title in our online reader with advanced features
Feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now

Product Details


Publication date : Feb 23, 2017
Length 562 pages
Edition : 2nd Edition
Language : English
ISBN-13 : 9781786468017
Vendor :
VMware
toc View table of contents toc Preview Book

Key benefits

  • [
  • ] This is first book on the market that will enlighten you on the latest version of PowerCLI and how to implement it
  • [
  • ] Effectively manage virtual machines, networks, and reports with the latest features of PowerCLI
  • [
  • ] A comprehensive and practical book on automating VMware vSphere

Description

VMware vSphere PowerCLI, a free extension to Microsoft Windows PowerShell, enables you to automate the management of a VMware vSphere or vCloud environment. This book will show you how to automate your tasks and make your job easier. Starting with an introduction to the basics of PowerCLI, the book will teach you how to manage your vSphere and vCloud infrastructure from the command line. To help you manage a vSphere host overall, you will learn how to manage vSphere ESXi hosts, host profiles, host services, host firewall, and deploy and upgrade ESXi hosts using Image Builder and Auto Deploy. The next chapter will not only teach you how to create datastore and datastore clusters, but you’ll also work with profile-driven and policy-based storage to manage your storage. To create a disaster recovery solution and retrieve information from vRealize Operations, you will learn how to use Site Recovery Manager and vRealize Operations respectively. Towards the end, you’ll see how to use the REST APIs from PowerShell to manage NSX and vRealize Automation and create patch baselines, scan hosts against the baselines for missing patches, and re-mediate hosts. By the end of the book, you will be capable of using the best tool to automate the management and configuration of VMware vSphere.

What you will learn

• Explore PowerShell and PowerCLI cmdlets and their output objects • See how to manage virtual machines and work with virtual networks • Manage vCloud Director from PowerCLI • Use Site Recovery Manager from PowerCLI to create a disaster recovery solution • Manage NSX and vRealize Automation using REST API with PowerCLI • Create and configure vSphere HA and DRS clusters • Use vSphere Update Manager with PowerCLI to create patch baselines and scan hosts • Explore reporting techniques to retrieve log files

What do you get with eBook?

Feature icon Instant access to your Digital eBook purchase
Feature icon Download this book in EPUB and PDF formats
Feature icon Access this title in our online reader with advanced features
Feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now

Product Details


Publication date : Feb 23, 2017
Length 562 pages
Edition : 2nd Edition
Language : English
ISBN-13 : 9781786468017
Vendor :
VMware

Table of Contents

22 Chapters
Learning PowerCLI Second Edition Packt Packt
Learning PowerCLI Second Edition
Credits Packt Packt
Credits
About the Author Packt Packt
About the Author
About the Reviewer Packt Packt
About the Reviewer
www.PacktPub.com Packt Packt
www.PacktPub.com
Customer Feedback Packt Packt
Customer Feedback
Preface Packt Packt
Preface
Introduction to PowerCLI Packt Packt
Introduction to PowerCLI
Downloading and installing PowerCLI
Participating in the VMware Customer Improvement Program
Modifying the PowerShell execution policy
Creating a PowerShell profile
Connecting and disconnecting servers
Using the credential store
Retrieving a list of all of your virtual machines
Retrieving a list of all of your hosts
Summary
Learning Basic PowerCLI Concepts Packt Packt
Learning Basic PowerCLI Concepts
Using the Get-Command, Get-Help, and Get-Member cmdlets
Using providers and PSDrives
Using arrays and hash tables
Creating calculated properties
Using raw API objects with ExtensionData or Get-View
Extending PowerCLI objects with the New-VIProperty cmdlet
Working with vSphere folders
Summary
Working with Objects in PowerShell Packt Packt
Working with Objects in PowerShell
Using objects, properties, and methods
Expanding variables and subexpressions in strings
Using here-strings
Using the pipeline
Using the PowerShell object cmdlets
Creating your own objects
Using COM objects
Summary
Managing vSphere Hosts with PowerCLI Packt Packt
Managing vSphere Hosts with PowerCLI
Adding hosts to a VMware vCenter Server
Enabling and disabling maintenance mode
Working with host profiles
Working with host services
Configuring the host firewall
Using vSphere Image Builder and Auto Deploy
Using esxcli from PowerCLI
Removing hosts from a VMware vCenter Server
Summary
Managing Virtual Machines with PowerCLI Packt Packt
Managing Virtual Machines with PowerCLI
Creating virtual machines
Registering virtual machines
Using OS customization specifications
Importing OVF or OVA packages
Starting and stopping virtual machines
Modifying the settings of virtual machines
Converting virtual machines into templates
Moving virtual machines to another folder, host, cluster, resource pool, or datastore
Updating VMware Tools
Upgrading virtual machine compatibility
Using snapshots
Running commands in the guest OS
Configuring Fault Tolerance
Opening the console of virtual machines
Removing virtual machines
Using tags
Summary
Managing Virtual Networks with PowerCLI Packt Packt
Managing Virtual Networks with PowerCLI
Using vSphere Standard Switches
Using host network adapters
Using standard port groups
Using vSphere Distributed Switches
Using distributed virtual port groups
Configuring host networking
Configuring the network of virtual machines
Summary
Managing Storage Packt Packt
Managing Storage
Rescanning for new storage devices
Creating datastores
Retrieving datastores
Setting the multipathing policy
Configuring vmhba paths to an SCSI device
Working with Raw Device Mappings
Configuring storage I/O control
Configuring Storage DRS
Upgrading datastores to VMFS-5
Removing datastores
Using VMware vSAN
Using vSphere storage policy-based management
Summary
Managing High Availability and Clustering Packt Packt
Managing High Availability and Clustering
Creating vSphere HA and DRS clusters
Retrieving clusters
Modifying the cluster settings
Moving hosts to clusters
Moving clusters
Using DRS rules
Using DRS recommendations
Using resource pools
Using Distributed Power Management
Removing clusters
Summary
Managing vCenter Server Packt Packt
Managing vCenter Server
Working with roles and permissions
Managing licenses
Configuring alarms
Retrieving events
Summary
Patching ESXi Hosts and Upgrading Virtual Machines Packt Packt
Patching ESXi Hosts and Upgrading Virtual Machines
Downloading new patches into the Update Manager repository
Retrieving patches in the Update Manager repository
Using baselines and baseline groups
Testing inventory objects for compliance with baselines
Retrieving baseline compliance data
Initializing staging of patches
Remediating inventory objects
Summary
Managing VMware vCloud Director and vCloud Air Packt Packt
Managing VMware vCloud Director and vCloud Air
Connecting to vCloud Air servers and vCloud Director servers
Retrieving organizations
Retrieving organization virtual datacenters
Retrieving organization networks
Retrieving vCloud users
Using vCloud virtual appliances
Managing vCloud virtual machines
Using the vCloud Director API with Get-CIView
Disconnecting from vCloud Director servers
Summary
Using Site Recovery Manager Packt Packt
Using Site Recovery Manager
Installing SRM
Connecting to SRM servers
Downloading and installing the Meadowcroft.SRM module
Pairing SRM sites
Retrieving the SRM user info
Managing protection groups
Protecting virtual machines
Retrieving protected virtual machines
Unprotecting virtual machines
Managing recovery plans
Disconnecting from SRM servers
Summary
Using vRealize Operations Manager Packt Packt
Using vRealize Operations Manager
Connecting to vRealize Operations Manager servers
Retrieving vRealize Operations Manager resource objects
Using alerts
Retrieving recommendations
Retrieving statistic keys
Retrieving statistical data
Retrieving local user accounts
Using the vRealize Operations Manager API
Disconnecting from vRealize Operations Manager servers
Summary
Using REST API to manage NSX and vRealize Automation Packt Packt
Using REST API to manage NSX and vRealize Automation
Connecting to REST API servers
Managing NSX logical switches
Managing NSX logical (distributed) routers
Managing NSX Edge services gateways
Connecting to vRA servers
Managing vRA tenants
Retrieving vRA business groups
Managing vRA reservations
Managing vRA machines and applications
Summary
Reporting with PowerCLI Packt Packt
Reporting with PowerCLI
Retrieving log files
Creating log bundles
Performance reporting
Exporting reports to CSV files
Generating HTML reports
Sending reports by e-mail
Reporting the health of your vSphere environment with vCheck
Summary
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQS

How do I buy and download an eBook? Packt Packt

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Packt Packt

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Packt Packt
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Packt Packt

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Packt Packt
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Packt Packt

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.