ORPP logo
Image from Google Jackets

PowerCLI Cookbook : Over 75 Step-By-step Recipes to Put PowerCLI into Action for Efficient Administration of Your Virtual Environment.

By: Material type: TextTextPublisher: Birmingham : Packt Publishing, Limited, 2015Copyright date: ©2015Edition: 1st edDescription: 1 online resource (345 pages)Content type:
  • text
Media type:
  • computer
Carrier type:
  • online resource
ISBN:
  • 9781784391065
Subject(s): Genre/Form: Additional physical formats: Print version:: PowerCLI CookbookLOC classification:
  • QA76.9.V5 -- .S455 2015eb
Online resources:
Contents:
Intro -- PowerCLI Cookbook -- Table of Contents -- PowerCLI Cookbook -- Credits -- About the Author -- Acknowledgments -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers, and more -- Why subscribe? -- Free access for Packt account holders -- Instant updates on new Packt books -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Downloading the example code -- Errata -- Piracy -- Questions -- 1. Configuring the Basic Settings of an ESXi Host with PowerCLI -- Introduction -- Connecting to an ESXi host or a vCenter instance -- Getting ready -- How to do it... -- How it works… -- There's more… -- See also -- Getting the VMware host object -- Getting ready -- How to do it... -- How it works… -- There's more… -- See also -- Joining an ESXi host into Active Directory -- Getting ready -- How to do it... -- How it works… -- There's more… -- See also -- Enabling services and setting security profiles -- Getting ready -- How to do it… -- How it works… -- There's more… -- Setting network configuration -- Getting ready -- How to do it... -- How it works… -- There's more… -- See also -- Creating datastores on an ESXi host -- Getting ready -- How to do it… -- How it works… -- See also -- Configuring syslog settings on an ESXi host -- Getting ready -- How to do it… -- How it works… -- There's more… -- Joining an ESXi host to vCenter -- Getting ready -- How to do it… -- How it works… -- See also -- Creating a configuration script to set all properties uniformly -- Getting ready -- How to do it… -- How it works… -- See also -- 2. Configuring vCenter and Computing Clusters -- Introduction -- Creating a virtual datacenter in vCenter -- Getting ready -- How to do it… -- How it works… -- Creating a cluster and adding ESXi hosts.
Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Setting cluster advanced features, including HA, DRS, and EVC -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Setting up resource pools -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Setting up folders to organize objects in vCenter -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Setting permissions on vCenter objects -- Getting ready -- How to do it… -- How it works… -- There's more… -- 3. Managing Virtual Machines -- Introduction -- Deploying the first virtual machine -- Getting Started -- How to do it… -- How it works… -- There's more… -- See also -- Cloning a virtual machine to a template -- Getting Started -- How to do it… -- How it works… -- There's more… -- See also -- Deploying new virtual machines from a template -- Getting Started -- How to do it… -- How it works… -- There's more… -- Importing a virtual appliance from OVA -- Getting Started -- How to do it… -- How it works… -- There's more… -- See also -- Performing a hot add of virtual hardware to an existing virtual machine -- Getting Started -- How to do it… -- How it works… -- There's more… -- See also -- Enabling and disabling Fault Tolerance on a virtual machine -- Getting Started -- How to do it… -- How it works… -- See also -- Increasing the disk space in a virtual machine -- Getting Started -- How to do it… -- How it works… -- Upgrading the virtual hardware version of a virtual machine -- Getting Started -- How to do it… -- How it works… -- See also -- Locating and reloading inaccessible or invalid virtual machines -- Getting Started -- How to do it… -- How it works… -- Setting VMware Tool settings from PowerCLI -- Getting Started -- How to do it… -- How it works….
Creating basic reports of VM properties using VMware Tools and PowerCLI -- Getting Started -- How to do it… -- How it works… -- There's more… -- See also -- 4. Working with Datastores and Datastore Clusters -- Introduction -- Performing Storage vMotion -- Getting ready -- How to do it… -- How it works… -- There's more… -- Finding Raw Disk Mappings in your environment -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Locating thin or thick provisioned disks -- Getting ready -- How to do it… -- How it works… -- There's more… -- Converting thin to thick disks with Storage vMotion -- Getting ready -- How to do it… -- How it works… -- There's more… -- Creating and managing datastore clusters -- Getting ready -- How to do it… -- How it works… -- Setting Storage DRS automation levels for individual virtual machines -- Getting ready -- How to do it… -- How it works… -- There's more… -- Setting Storage DRS automation levels for individual VMs using PowerCLI 6 -- Getting ready -- How to do it… -- How it works… -- 5. Creating and Managing Snapshots -- Introduction -- Creating a snapshot -- Getting Started -- How to do it… -- How it works… -- There's more… -- See also -- Getting a list of snapshots in the environment -- Getting Started -- How to do it… -- How it works… -- There's more… -- Manipulating the list of snapshots to get better information -- Getting Started -- How to do it… -- How it works… -- There's more… -- See also -- Scoping and filtering a list of snapshots -- Getting Started -- How to do it… -- How it works… -- There's more… -- Removing targeted snapshots -- Getting Started -- How to do it… -- How it works… -- There's more… -- Find lost or unknown snapshots -- Getting Started -- How to do it… -- How it works… -- Creating a function to automatically remediate snapshots -- Getting Started -- How to do it….
How it works… -- There's more… -- See also -- Scheduling automatic snapshot remediation -- Getting Started -- How to do it… -- How it works… -- See also -- Creating a snapshot management module -- Getting Started -- How to do it… -- How it works… -- There's more… -- 6. Managing Resource Pools, Reservations, and Limits for Virtual Machines -- Introduction -- Setting reservations and limits for resource pools -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Balancing share allocations on resource pools -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Creating a custom attribute with a number of shares per VM on each resource pool -- Getting ready -- How to do it… -- How it works… -- Automating share allocation balancing -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Reporting shares, reservations, and limits of resource pools and virtual machines -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- 7. Creating Custom Reports and Notifications for vSphere -- Introduction -- Getting alerts from a vSphere environment -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Basics of formatting output from PowerShell objects -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Sending output to CSV and HTML -- Getting ready -- How to do it… -- How it works… -- There's more… -- Reporting VM objects created during a predefined time period from VI Events object -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Setting custom properties to add useful context to your virtual machines -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Using PowerShell native capabilities to schedule scripts -- Getting ready.
How to do it… -- How it works… -- There's more… -- See also -- 8. Performing ESXCLI and in-guest Commands from PowerCLI -- Introduction -- Retrieving the ESXCLI object in PowerCLI -- Getting ready -- How to do it… -- How it works… -- There's more... -- Using the ESXCLI vm namespace to kill a misbehaving VM -- Getting ready -- How to do it… -- How it works… -- There's more… -- Performing ESXi ping with an ESXCLI object -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Configuring custom storage and path selection policies -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Configuring coredump settings for an ESXi host from PowerCLI -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Executing native commands inside the guest operating system from PowerCLI -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- 9. Managing DRS and Affinity Groups using PowerCLI -- Introduction -- Applying recommendations for partially automated DRS clusters -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Setting a cluster into maintenance mode with PowerCLI -- Getting ready -- How to do it... -- There's more... -- Using native DRS rule cmdlets to manage KeepTogether and Separate rules -- Getting ready -- How to do it… -- How it works… -- Learning the MoRef way of identifying objects -- Getting ready -- How to do it… -- How it works… -- There's more… -- Creating a DRS group for virtual machines -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Listing the members of a DRS group -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Updating the members of a VM DRS group -- Getting ready -- How to do it… -- How it works….
Creating a custom function to update members of a DRS group.
Tags from this library: No tags from this library for this title. Log in to add tags.
Star ratings
    Average rating: 0.0 (0 votes)
No physical items for this record

Intro -- PowerCLI Cookbook -- Table of Contents -- PowerCLI Cookbook -- Credits -- About the Author -- Acknowledgments -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers, and more -- Why subscribe? -- Free access for Packt account holders -- Instant updates on new Packt books -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Downloading the example code -- Errata -- Piracy -- Questions -- 1. Configuring the Basic Settings of an ESXi Host with PowerCLI -- Introduction -- Connecting to an ESXi host or a vCenter instance -- Getting ready -- How to do it... -- How it works… -- There's more… -- See also -- Getting the VMware host object -- Getting ready -- How to do it... -- How it works… -- There's more… -- See also -- Joining an ESXi host into Active Directory -- Getting ready -- How to do it... -- How it works… -- There's more… -- See also -- Enabling services and setting security profiles -- Getting ready -- How to do it… -- How it works… -- There's more… -- Setting network configuration -- Getting ready -- How to do it... -- How it works… -- There's more… -- See also -- Creating datastores on an ESXi host -- Getting ready -- How to do it… -- How it works… -- See also -- Configuring syslog settings on an ESXi host -- Getting ready -- How to do it… -- How it works… -- There's more… -- Joining an ESXi host to vCenter -- Getting ready -- How to do it… -- How it works… -- See also -- Creating a configuration script to set all properties uniformly -- Getting ready -- How to do it… -- How it works… -- See also -- 2. Configuring vCenter and Computing Clusters -- Introduction -- Creating a virtual datacenter in vCenter -- Getting ready -- How to do it… -- How it works… -- Creating a cluster and adding ESXi hosts.

Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Setting cluster advanced features, including HA, DRS, and EVC -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Setting up resource pools -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Setting up folders to organize objects in vCenter -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Setting permissions on vCenter objects -- Getting ready -- How to do it… -- How it works… -- There's more… -- 3. Managing Virtual Machines -- Introduction -- Deploying the first virtual machine -- Getting Started -- How to do it… -- How it works… -- There's more… -- See also -- Cloning a virtual machine to a template -- Getting Started -- How to do it… -- How it works… -- There's more… -- See also -- Deploying new virtual machines from a template -- Getting Started -- How to do it… -- How it works… -- There's more… -- Importing a virtual appliance from OVA -- Getting Started -- How to do it… -- How it works… -- There's more… -- See also -- Performing a hot add of virtual hardware to an existing virtual machine -- Getting Started -- How to do it… -- How it works… -- There's more… -- See also -- Enabling and disabling Fault Tolerance on a virtual machine -- Getting Started -- How to do it… -- How it works… -- See also -- Increasing the disk space in a virtual machine -- Getting Started -- How to do it… -- How it works… -- Upgrading the virtual hardware version of a virtual machine -- Getting Started -- How to do it… -- How it works… -- See also -- Locating and reloading inaccessible or invalid virtual machines -- Getting Started -- How to do it… -- How it works… -- Setting VMware Tool settings from PowerCLI -- Getting Started -- How to do it… -- How it works….

Creating basic reports of VM properties using VMware Tools and PowerCLI -- Getting Started -- How to do it… -- How it works… -- There's more… -- See also -- 4. Working with Datastores and Datastore Clusters -- Introduction -- Performing Storage vMotion -- Getting ready -- How to do it… -- How it works… -- There's more… -- Finding Raw Disk Mappings in your environment -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Locating thin or thick provisioned disks -- Getting ready -- How to do it… -- How it works… -- There's more… -- Converting thin to thick disks with Storage vMotion -- Getting ready -- How to do it… -- How it works… -- There's more… -- Creating and managing datastore clusters -- Getting ready -- How to do it… -- How it works… -- Setting Storage DRS automation levels for individual virtual machines -- Getting ready -- How to do it… -- How it works… -- There's more… -- Setting Storage DRS automation levels for individual VMs using PowerCLI 6 -- Getting ready -- How to do it… -- How it works… -- 5. Creating and Managing Snapshots -- Introduction -- Creating a snapshot -- Getting Started -- How to do it… -- How it works… -- There's more… -- See also -- Getting a list of snapshots in the environment -- Getting Started -- How to do it… -- How it works… -- There's more… -- Manipulating the list of snapshots to get better information -- Getting Started -- How to do it… -- How it works… -- There's more… -- See also -- Scoping and filtering a list of snapshots -- Getting Started -- How to do it… -- How it works… -- There's more… -- Removing targeted snapshots -- Getting Started -- How to do it… -- How it works… -- There's more… -- Find lost or unknown snapshots -- Getting Started -- How to do it… -- How it works… -- Creating a function to automatically remediate snapshots -- Getting Started -- How to do it….

How it works… -- There's more… -- See also -- Scheduling automatic snapshot remediation -- Getting Started -- How to do it… -- How it works… -- See also -- Creating a snapshot management module -- Getting Started -- How to do it… -- How it works… -- There's more… -- 6. Managing Resource Pools, Reservations, and Limits for Virtual Machines -- Introduction -- Setting reservations and limits for resource pools -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Balancing share allocations on resource pools -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Creating a custom attribute with a number of shares per VM on each resource pool -- Getting ready -- How to do it… -- How it works… -- Automating share allocation balancing -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Reporting shares, reservations, and limits of resource pools and virtual machines -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- 7. Creating Custom Reports and Notifications for vSphere -- Introduction -- Getting alerts from a vSphere environment -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Basics of formatting output from PowerShell objects -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Sending output to CSV and HTML -- Getting ready -- How to do it… -- How it works… -- There's more… -- Reporting VM objects created during a predefined time period from VI Events object -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Setting custom properties to add useful context to your virtual machines -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Using PowerShell native capabilities to schedule scripts -- Getting ready.

How to do it… -- How it works… -- There's more… -- See also -- 8. Performing ESXCLI and in-guest Commands from PowerCLI -- Introduction -- Retrieving the ESXCLI object in PowerCLI -- Getting ready -- How to do it… -- How it works… -- There's more... -- Using the ESXCLI vm namespace to kill a misbehaving VM -- Getting ready -- How to do it… -- How it works… -- There's more… -- Performing ESXi ping with an ESXCLI object -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Configuring custom storage and path selection policies -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Configuring coredump settings for an ESXi host from PowerCLI -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Executing native commands inside the guest operating system from PowerCLI -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- 9. Managing DRS and Affinity Groups using PowerCLI -- Introduction -- Applying recommendations for partially automated DRS clusters -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Setting a cluster into maintenance mode with PowerCLI -- Getting ready -- How to do it... -- There's more... -- Using native DRS rule cmdlets to manage KeepTogether and Separate rules -- Getting ready -- How to do it… -- How it works… -- Learning the MoRef way of identifying objects -- Getting ready -- How to do it… -- How it works… -- There's more… -- Creating a DRS group for virtual machines -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Listing the members of a DRS group -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Updating the members of a VM DRS group -- Getting ready -- How to do it… -- How it works….

Creating a custom function to update members of a DRS group.

Description based on publisher supplied metadata and other sources.

Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2024. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.

There are no comments on this title.

to post a comment.

© 2024 Resource Centre. All rights reserved.