Learn PowerShell Scripting in a Month of Lunches

Learn PowerShell Scripting in a Month of Lunches
ISBN-10
1617295094
ISBN-13
9781617295096
Category
Command languages (Computer science)
Pages
352
Language
English
Published
2017-11-25
Publisher
Manning Publications
Authors
Jeffery Hicks, Don Jones

Description

Summary Discover how scripting is different from command-line PowerShell, as you explore concrete hands-on examples in this handy guide. The book includes and expands on many of the techniques presented in Learn PowerShell Toolmaking in a Month of Lunches. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Automate it! With Microsoft's PowerShell language, you can write scripts to control nearly every aspect of Windows. Just master a few straightforward scripting skills, and you'll be able to eliminate repetitive manual tasks, create custom reusable tools, and build effective pipelines and workflows. Once you start scripting in PowerShell, you'll be amazed at how many opportunities you'll find to save time and effort. About the Book Learn PowerShell Scripting in a Month of Lunches teaches you how to expand your command-line PowerShell skills into effective scripts and tools. In 27 bite-size lessons, you'll discover instantly useful techniques for writing efficient code, finding and squashing bugs, organizing your scripts into libraries, and much more. Advanced scripters will even learn to access the .NET Framework, store data long term, and create nice user interfaces. What's Inside Designing functions and scripts Effective pipeline usage Dealing with errors and bugs Professional-grade scripting practices About the Reader Written for devs and IT pros comfortable with PowerShell and Windows. About the Authors Don Jones is a PowerShell MVP, speaker, and trainer who has written dozens of books on information technology topics. Jeffery Hicks is a PowerShell MVP and an independent consultant, trainer, and author. Don and Jeff coauthored Manning's Learn Windows PowerShell in a Month of Lunches, Learn PowerShell Toolmaking in a Month of Lunches, and PowerShell in Depth. Table of Contents PART 1 - INTRODUCTION TO SCRIPTING Before you begin Setting up your scripting environment WWPD: what would PowerShell do? Review: parameter binding and the PowerShell pipeline Scripting language crash course The many forms of scripting (and which to use) Scripts and security PART 2 - BUILDING A POWERSHELL SCRIPT Always design first Avoiding bugs: start with a command Building a basic function and script module Going advanced with your function Objects: the best kind of output Using all the pipelines Simple help: making a comment Dealing with errors Filling out a manifest PART 3 - GROWN-UP SCRIPTING Changing your brain when it comes to scripting Professional-grade scripting An introduction to source control with git Pestering your script Signing your script Publishing your script PART 4 - ADVANCED TECHNIQUES Squashing bugs Making script output prettier Wrapping up the .NET Framework Storing data-not in Excel! Never the end

Other editions

Similar books

  • Windows PowerShell 2.0: Administrator's Pocket Consultant
    By William R. Stanek

    Portable and precise, this pocket-sized guide delivers ready answers for automating everyday system-administration tasks with Windows PowerShell.

  • Windows Command Line: The Personal Trainer : Windows 8.1, Windows Server 2012, and Windows Server 2012 R2
    By William R. Stanek

    This practical hands-on guide for Windows power users and IT professionals delivers ready answers for using Windows command-line tools to manage Windows 8.1, Windows Server 2012, and Windows Server 2012 R2. Not only is this book packed with ...

  • CCNA Security Portable Command Guide
    By Bob Vachon

    Whether you are studying for the Cisco IOS Network Security certification exam (Currently referred to as IINS v3) or just want to have a quick reference guide to practical security commands, this book will be useful to keep on hand.

  • Windows PowerShell Step by Step
    By Ed Wilson

    Discover how to: Run cmdlets and command-line utilities Administer Windows-based servers and desktops with built-in cmdlets Use providers to access external information Write and run scripts from the Windows ISE Create functions that are ...

  • Windows Powershell 3.0 Step by Step
    By Ed Wilson

    Your hands-on, step-by-step guide to automating Windows administration with Windows PowerShell 3.0 Teach yourself the fundamentals of Windows PowerShell 3.0 command line interface and scripting language - one step at a time.

  • Introduction to the Command Line: GNU/Linux
    By Andrew Oram, Mass.), Gnu Press

    Introduction to the Command Line: GNU/Linux