Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Preface 1
Chapter 1: Introduction to PowerCLI
Downloading and installing PowerCLI
Installing PowerCLI
Modifying the PowerShell execution policy
Connecting and disconnecting servers
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
Filtering objects
Using comparison operators
Retrieving a list of all of your hosts
Displaying the output in a grid view
Summary 34
Chapter 2: Learning Basic PowerCLI Concepts
Using Get-Command
Using Get-VICommand
Using Get-PowerCLIHelp
Using Get-PowerCLICommunity
Using Get-Member
Using providers and PSDrives
Using PSDrives
Using the vSphere PowerCLI Inventory Provider
Using the vSphere PowerCLI Datastore Provider
Copying files between a datastore and your PC
Using arrays and hash tables
Creating calculated properties
Using raw API objects with ExtensionData or Get-View
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 61
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
Using here-strings
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
← Prev
Back
Next →
← Prev
Back
Next →