Learning PowerCLI : a practical guide to get you started with automating VMware vSphere via PowerCLI /


Robert van den Nieuwendijk.
Bok Engelsk 2014 Robert van den. Nieuwendijk,· Electronic books.
Omfang
1 online resource (374 p.)
Opplysninger
Includes index.. - Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Introduction to PowerCLI; Downloading and installing PowerCLI; Downloading PowerCLI; Installing PowerCLI; Modifying the PowerShell execution policy; Connecting and disconnecting servers; Connecting to a server; Connecting to multiple servers; Suppressing certificate warnings; Disconnecting from a server; Retrieving the PowerCLI Configuration; Using the credential store; Retrieving a list of all of your virtual machines; Suppressing displaying deprecated warnings. - Copying files between a datastore and your PCUsing arrays and hash tables; Creating calculated properties; Using raw API objects with ExtensionData or Get-View; Using the ExtensionData property; Using the Get-View cmdlet; Using Managed Object References; Using the Get-VIObjectByVIView cmdlet; Extending PowerCLI objects with the New-VIProperty cmdlet; Working with vSphere folders; Summary; Chapter 3: Working with Objects in PowerShell; Using objects, properties, and methods; Using methods; Expanding variables and subexpressions in strings; Understanding what expands a string. - Creating objects using the Select-Object cmdletAdding properties to an object with Add-Member; Using type declarations; Using COM objects; Summary; Chapter 4: Managing vSphere Hosts with PowerCLI; Adding a host to a VMware vCenter Server; Creating a datacenter; Creating a cluster; Adding a host; Enabling and disabling maintenance mode; Working with host profiles; Creating a host profile; Attaching the host profile to a cluster or a host; Testing the host profile for compliance; Applying a host profile to a host or cluster; Using host profile answer files; Exporting a host profile. - Expanding a string when it is usedUsing here-strings; Using the pipeline; Using the ByValue parameter binding; Using the ByPropertyName parameter binding; Using the PowerShell object cmdlets; Using the Select-Object cmdlet; Using the Where-Object cmdlet; Using the ForEach-Object cmdlet; Using the Sort-Object cmdlet; Using the Measure-Object cmdlet; Rounding a value; Using the Group-Object cmdlet; Using the Compare-Object cmdlet; Using the Tee-Object cmdlet; Creating your own objects; Using the New-Object cmdlet; Using a hash table to create an object. - Importing a host profile. - Using wildcard charactersFiltering objects; Using comparison operators; Using aliases; Retrieving a list of all of your hosts; Displaying the output in a grid view; Summary; Chapter 2: Learning Basic PowerCLI Concepts; Using the Get-Command, Get-Help, and Get-Member cmdlets; Using Get-Command; Using Get-VICommand; Using Get-Help; Using Get-PowerCLIHelp; Using Get-PowerCLICommunity; Using Get-Member; Using providers and PSdrives; Using providers; Using PSDrives; Using the vSphere PowerCLI Inventory Provider; Using the vSphere PowerCLI Datastore Provider. - ""Learning PowerCLI"" is written in a friendly and practical style with a focus on getting you started and automating daily tasks quickly and efficiently. If you manage or administrate a vSphere environment, and want to make that easier and more efficient, then this book is for you!This book is ideal for you if you want to learn how to automate your VMware vSphere infrastructure, by getting the most out of PowerCLI. It's assumed that you have some experience in administrating a VMware vSphere environment. Knowledge of Microsoft's Windows PowerShell is not a prerequisite.
Emner
Sjanger
Dewey
ISBN
1-78217-017-0
Hylleplass
QA76.9.V5 V363 2014

Bibliotek som har denne