Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
PowerCLI Essentials

You're reading from   PowerCLI Essentials Simplify and automate server administration tasks with PowerCLI

Arrow left icon
Product type Paperback
Published in Apr 2016
Publisher Packt
ISBN-13 9781785881770
Length 194 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Chris Halverson Chris Halverson
Author Profile Icon Chris Halverson
Chris Halverson
Arrow right icon
View More author details
Toc

Writing the script

Writing a script should be straightforward and to the point. There needs to be a purpose, a breakdown of what inputs are needed, what outputs are needed, and who needs to run it. In most cases, this can be done on the fly as each line is typed, but it still is a methodized approach. This section deals with the mentality of writing a command, how to approach it, and planning the writing of it. As the IT Administration field looks more and more to DevOps frameworks, the more important building a process on how to do it becomes.

Planning the purpose

The basics of planning are to set the final expectations before beginning any typing.

Let's start with the example shown in the introduction of Chapter 1, An Introduction to Essential Administration with PowerCLI, where the boss needs a report of configuration data for a C-level individual in your company. What would a C-level be interested in seeing? Would it be CPU utilization and storage performance? Probably not—...

You have been reading a chapter from
PowerCLI Essentials
Published in: Apr 2016
Publisher: Packt
ISBN-13: 9781785881770
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime