售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
PowerCLI Essentials
Table of Contents
PowerCLI Essentials
Credits
About the Author
About the Reviewer
www.PacktPub.com
eBooks, discount offers, and more
Why subscribe?
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. An Introduction to Essential Administration with PowerCLI
Why this book, and why now?
Understanding PowerShell versions
The basic structure of PowerShell
Why is version understanding important?
v2 or v3 – what's the difference?
Installing PowerShell v3 on a Windows 7 or Windows 2008 R2 machine
Understanding PowerCLI
Getting PowerCLI versions
The PowerCLI change log
Getting PowerCLI
Pre-requisites before getting PowerCLI
Downloading PowerCLI
Installing PowerCLI
Getting help
Setting up the PowerCLI installation
Summary
2. Comparing Point and Click Administration to PowerCLI and Scripting
Getting started
Where do we begin?
Where do we find scripts and snippets that are safe to run?
VMware communities
VMware blogs
VMware flings
PowerGUI
Notepad++
PowerShell Scriptomatic
Microsoft TechNet Script Center
Programming interfaces
Writing the script
Planning the purpose
Thinking through a script
Planning the output
Making the script
Final script
Report-VMHostConfigStatus
Starting with the inputs
Getting the current configuration
Output of data
Getting the same information through PowerCLI
Network
Storage
Output
Final script of the report
Summary
3. Enhancing the Scripting Experience
Code repositories – why would I need that?
Building an internal repository
Using a third-party tool for code check-in and check-out
Send it to the cloud! Publicly accessible script repositories
Conclusions
Scripting with the intention to reuse
Functions, functions, functions – the fun with functions
Example of a multifunctional script
Using modules
Calling other scripts within the script
Example of a framework script
Building a framework that others can build upon
Running a workflow
Quality control, consistency, and simplification
Revisiting documentation
Script simplification
Error handling
Verification testing
Version control and keeping previous versions
What signifies a major version versus a minor version
Storing versions
Building a VM script using all the pieces
Summary
4. Windows Administration within VMware Administration
What is DevOps?
Starting a DevOps practice
Defining the roles
An example process
Duties of the Automation Engineer
Building the script
Mixing PowerCLI and standard PowerShell
Building a Windows script host
Using commands to enable remote desktops on a Windows 2012 R2 server
Running PowerCLI and Windows Administration
A script example
Thinking through the script
Building the script
Invoke-VMScript configuration
Running remote on a Linux guest
Basic BASH
Invoke-VMScript configuration
Introduction to vRealize Orchestrator
Summary
5. Workflows and vRealize Orchestrator
Workflows
The beginning of a workflow
The planning stage
The design phase
The implementation phase
The testing phase
Promotion or closeout
vRealize Orchestrator
Architecture and history
Sample environment
Where to get it?
Prerequisites to installation
Installation
Installing the standalone instance
Configuring and integration
Summary
6. Running Workflows with Other VMware Products
Orchestrating VMware products
Orchestrating with Orchestrator
Workflows
Orchestrating the integration of NSX
NSX conceptual overview
PowerCLI and NSX
Orchestrating the integration of Site Recovery Manager
PowerCLI and SRM
Running PowerShell scripts in a Recovery Plan
Orchestrating the integration of Monitoring (vROps)
Connecting to the vRealize Operations Manager
PowerCLI and vROps
Performance tools
Orchestration of Storage (VSAN)
VSAN and PowerCLI
Summary
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜