The PowerShell Scripting and Toolmaking Book

First Edition

Author: Don Jones,Jeffrey Hicks

Publisher: Createspace Independent Publishing Platform

ISBN: 9781544129051


Page: 424

View: 1129

Go beyond the PowerShell command line and become a Toolmaker! Learn the techniques, patterns, and practices that go into professional, native-style scripting in the PowerShell environment. PowerShell MVPs Don Jones and Jeffery Hicks - authors of some of the first and most-popular PowerShell books ever - walk you through a guided tour of toolmaking, including advanced topics like debugging, help authoring, type extensions, and more. They introduce you to key open-source tools like Platyps and Pester, helping you become a more professional and well-rounded toolmaker. They even dive into data connectivity, helping you use some of the most common data storage mechanisms and formats in your scripts. Everything you need is right here, including hands-on exercises, review questions, and more. Start becoming a PowerShell Toolmaker today!

Learn PowerShell Scripting in a Month of Lunches

Author: Don Jones,Jeffery Hicks

Publisher: Manning Publications

ISBN: 9781617295096

Category: Command languages (Computer science)

Page: 352

View: 6185

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

Learn Windows Powershell in a Month of Lunches

Author: Donald W. Jones,Jeffrey Hicks

Publisher: Manning Publications

ISBN: 9781617294167

Category: Computers

Page: 375

View: 3504

PowerShell provides a single, unified administrative command line from which to control and automate virtually every aspect of a Windows system. It accepts and executes commands immediately, and scripts can be written to manage most Windows servers like Exchange, IIS, and SharePoint. This updated book covers PowerShell features that run on Windows 7, Windows Server 2008 R2, and later. This edition is appropriate for PowerShell version 3 and later. There is coverage for new PowerShell version 5 features like PowerShellGet, however PowerShell fundamentals are unchanged. Learn Windows PowerShell in a Month of Lunches, Third Edition is an innovative tutorial designed for busy IT professionals. With just one hour a day for a month, readers will be automating Windows tasks faster than they ever thought possible. They start with the basics (What is PowerShell and what can be done with it). Then, it moves systematically through the techniques and features that facilitate efficient and effective results. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

Windows Powershell Scripting and Toolmaking

Author: Don Jones

Publisher: N.A

ISBN: 9781105082832


Page: 122

View: 6410

Take Windows PowerShell further by turning interactively-run commands into parameterized tools that look and feel just like native PowerShell cmdlets. Add error handling, learn critical debugging techniques, and build your own modules - including custom formatting and more. It's all brought to you by the world's most-published PowerShell expert, MVP Award recipient Don Jones. Designed as companion material for instructor-led classes, this slim, affordable guide makes PowerShell scripting practical and realistic.

Mastering Windows PowerShell Scripting

Author: Brenton J.W. Blawat

Publisher: Packt Publishing Ltd

ISBN: 1782173560

Category: Computers

Page: 282

View: 1694

If you are a system administrator who wants to become an expert in controlling and automating your Windows environment, then this book is for you. Prior knowledge of PowerShell's core elements and applications is required for this book.

Windows PowerShell Cookbook

The Complete Guide to Scripting Microsoft's Command Shell

Author: Lee Holmes

Publisher: "O'Reilly Media, Inc."

ISBN: 1449320686

Category: Computers

Page: 1007

View: 513

A guide to using Windows PowerShell to script Windows administrative tasks and control Windows from the command line includes more than four hundred task-oriented recipes and more than one hundred scripts.

Powershell in Depth

Author: Don Jones,Jeffery Hicks,Richard Siddaway

Publisher: Manning Publications

ISBN: 9781617292187

Category: Computers

Page: 744

View: 2258

Summary PowerShell in Depth, Second Edition is the go-to reference for administrators working with Windows PowerShell. Every major technique, technology, and tactic is carefully explained and demonstrated, providing a hands-on guide to almost everything an admin would do in the shell. Written by three experienced authors and PowerShell MVPs, this is the PowerShell book you'll keep next to your monitor—not on your bookshelf! Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Book A Windows admin using PowerShell every day may not have the time to search the net every time he or she hits a snag. Wouldn't it be great to have a team of seasoned PowerShell experts ready to answer even the toughest questions? That's what you get with this book. PowerShell in Depth, Second Edition is the go-to reference for administrators working with Windows PowerShell. Every major technique, technology, and tactic is carefully explained and demonstrated, providing a hands-on guide to almost everything an admin would do in the shell. Written by PowerShell MVPs Don Jones, Jeffrey Hicks, and Richard Siddaway, each valuable technique was developed and thoroughly tested, so you'll be able to consistently write production-quality, maintainable scripts while saving hours of time and effort. This book assumes you know the basics of PowerShell. What's Inside Automating tasks Packaging and deploying scripts Introduction to Desired State Configuration PowerShell security Covers PowerShell version 3 and later About the Authors Don Jones, Jeffery Hicks, and Richard Siddaway are Microsoft MVPs, trainers, and administrators. Collectively, they've authored nearly three dozen books on PowerShell and Windows administration. Table of Contents PART 1 POWERSHELL FUNDAMENTALS Introduction PowerShell hosts Using the PowerShell help system The basics of PowerShell syntax Working with PSSnapins and modules Operators Working with objects The PowerShell pipeline Formatting PART 2 POWERSHELL MANAGEMENT PowerShell Remoting Background jobs and scheduling Working with credentials Regular expressions Working with HTML and XML data PSDrives and PSProviders Variables, arrays, hash tables, and script blocks PowerShell security Advanced PowerShell syntax PART 3 POWERSHELL SCRIPTING AND AUTOMATION PowerShell's scripting language Basic scripts and functions Creating objects for output Scope PowerShell workflows Advanced syntax for scripts and functions Script modules and manifest modules Custom formatting views Custom type extensions Data language and internationalization Writing help Error handling techniques Debugging tools and techniques Functions that work like cmdlets Tips and tricks for creating reports PART 4 ADVANCED POWERSHELL Working with the Component Object Model (COM) Working with .NET Framework objects Accessing databases Proxy functions Building a GUI WMI and CIM Working with the web Desired State Configuration

PowerShell Deep Dives

Author: Jeffery Hicks,Richard Siddaway,Oisin Grehan,Aleksandar Nikolić

Publisher: Manning Publications Company

ISBN: 9781617291319

Category: Computers

Page: 436

View: 5964

Provides information on the administration, scripting functions, development, and platforms of Windows PowerShell.

Windows PowerShell Desired State Configuration Revealed

Author: Ravikanth Chaganti

Publisher: Apress

ISBN: 1484200160

Category: Computers

Page: 316

View: 2455

Desired State Configuration (DSC) is a powerful configuration management platform that makes it easier than ever to perform cross-platform configuration management of your infrastructure, whether on-premise or in the cloud. DSC provides the management platform and Application Programming Interface (API) that can be used with any programming language. Windows PowerShell Desired State Configuration Revealed will take you through this new technology from start to finish and demonstrates the DSC interfaces through Windows PowerShell. DSC allows you to manage target devices by simply declaring what state you want them to be in, using new declarative language extensions, rather than writing detailed instructions to get them into that state. This makes continuous delivery in Windows easier than ever before. In an environment where changes and deployments are happening all the time, DSC makes the necessary adjustments to the system so you don’t have to. Windows PowerShell Desired State Configuration Revealed starts with an overview of the configuration management features in Windows, followed by a discussion of the architecture of DSC and its components. You’ll then explore DSC’s built-in features and resources, followed by some of the different methods provided for delivering configuration information within your ecosystem, and learn about configuration monitoring and reporting. In the latter part of the book, you’ll find out how to get more power out of DSC by writing your own custom DSC resources, including a range of useful examples, and the book concludes with vital information on deploying and troubleshooting DSC in a production environment, along with some expert tips and tricks you might find useful along the way. Windows PowerShell Desired State Configuration Revealed is your one-stop guide to this new technology and how it can change your working life for the better.

The Pester Book

First Edition

Author: Don Jones,Adam Bertram

Publisher: Createspace Independent Publishing Platform

ISBN: 9781543245912


Page: 160

View: 6521

Learn Pester, the unit testing framework for PowerShell! Now bundled with the Windows operating system, Pester is an open-source framework for building automated tests for your PowerShell code. PowerShell MVPs Don Jones and Adam Bertram combine deep expertise and production experience to cover not only Pester's syntax, but numerous walkthroughs and case studies. This concise, yet in-depth guide will have you "up and testing" in no time.

Windows Powershell in Action

Author: Bruce Payette,Richard Siddaway

Publisher: Manning Publications

ISBN: 9781633430297

Category: Computers

Page: 625

View: 3043

Windows PowerShell transformed the way administrators and developers interact with Windows. PowerShell, an elegant dynamic language from Microsoft, lets its users script administrative tasks and control Windows from the command line. Because it's a full-featured, first-class Windows programming language, programmers and power- users can now do things in a shell that previously required VB, VBScript, or C#. Windows PowerShell in Action, Third Edition is a completely revised edition of the bestselling book on PowerShell. It keeps the same crystal-clear introduction to PowerShell as the last edition and adds extensive coverage of v3, v4, and v5 features such as PowerShell Workflows, Desired State Configuration, PowerShell classes and the PowerShell APIs, new error handling and debugging features. It includes full chapters on these topics and also covers new language elements and operators, PowerShell remoting, CIM, events, working with data such as XML and flat files, The Second Edition's coverage of batch scripting and string processing, COM, WMI, and .NET have all been significantly revised and expanded. The book includes many popular usage scenarios and is rich in interesting examples that will spark the reader's imagination. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

Violent Python

A Cookbook for Hackers, Forensic Analysts, Penetration Testers and Security Engineers

Author: TJ O'Connor

Publisher: Newnes

ISBN: 1597499641

Category: Computers

Page: 288

View: 5579

Violent Python shows you how to move from a theoretical understanding of offensive computing concepts to a practical implementation. Instead of relying on another attacker’s tools, this book will teach you to forge your own weapons using the Python programming language. This book demonstrates how to write Python scripts to automate large-scale network attacks, extract metadata, and investigate forensic artifacts. It also shows how to write code to intercept and analyze network traffic using Python, craft and spoof wireless frames to attack wireless and Bluetooth devices, and how to data-mine popular social media websites and evade modern anti-virus. Demonstrates how to write Python scripts to automate large-scale network attacks, extract metadata, and investigate forensic artifacts Write code to intercept and analyze network traffic using Python. Craft and spoof wireless frames to attack wireless and Bluetooth devices Data-mine popular social media websites and evade modern anti-virus

Windows PowerShell Cookbook

for Windows, Exchange 2007, and MOM

Author: Lee Holmes

Publisher: "O'Reilly Media, Inc."

ISBN: 059655477X

Category: Computers

Page: 592

View: 8205

This Cookbook by Windows PowerShell team developer Lee Holmes provides hundreds of tested scripts that you can use right away to get Microsoft's new tool working for you. More than 150 recipes, combined with a concise task-based introduction to the Windows PowerShell scripting language and environment, make it the perfect look-up guide when you encounter a thorny problem, or need a quick solution. The ideal companion to any tutorial or reference, this book meets the needs of system administrators at any level. Microsoft has revolutionized the world of system management and command-line shells with its release of Windows PowerShell, and Lee Holmes gives you practical tools and inside advice that will make you a more productive user and administrator. You will be able to solve everything from automating routine tasks, working with files, event logs and other forms of structured data, to managing the users and resources of complex Windows networks. Each recipe includes a focused piece of code plus discussion of how and why it works, so that you can apply the solution to similar tasks. You get an array of recipes covering PowerShell fundamentals, common tasks, and administrator tasks, including: Pipelines, variables, objects, looping and flow control, strings and unstructured text, calculations and math Simple files; structured files; Internet-enabled scripts; code reuse; lists, arrays and hashtables; user feedback; error management; environmental awareness; script signing; and more Files and directories, registry manipulation, comparing data, event logs, process cmdlets, service cmdlets, Active Directory, enterprise computer management, and more Those who administer Microsoft's Exchange 2007 and System Center Operations Manager (formerly MOM) will also benefit from this book, with separate chapters devoted to these servers. All Windows administrators will appreciate the appendices that include a PowerShell language quick reference, and a reference to the .NET, WMI and COM objects that PowerShell scripters will use often. With working scripts, tutorials, and references all in one volume, Windows PowerShell Cookbook will turbocharge the productivity of any Windows administrator.

The Art of Business Value

Author: Mark Schwartz

Publisher: IT Revolution

ISBN: 1942788053

Category: Business & Economics

Page: 160

View: 6663

"Do you really understand what business value is? Information technology can and should deliver business value. But the Agile literature has paid scant attention to what business value means—and how to know whether or not you are delivering it. This problem becomes ever more critical as you push value delivery toward autonomous teams and away from requirements “tossed over the wall” by business stakeholders. An empowered team needs to understand its goal! Playful and thought-provoking, The Art of Business Value explores what business value means, why it matters, and how it should affect your software development and delivery practices. More than any other IT delivery approach, DevOps (and Agile thinking in general) makes business value a central concern. This book examines the role of business value in software and makes a compelling case for why a clear understanding of business value will change the way you deliver software. This book will make you think deeply about not only what it means to deliver value but also the relationship of the IT organization to the rest of the enterprise. It will give you the language to discuss value with the business, methods to cut through bureaucracy and strategies for incorporating Agile teams and culture into the enterprise. Most of all, this book will startle you into new ways of thinking about the cutting-edge of Agile practice and where it may lead."


Become a Master in PowerShell

Author: Richard Dorsey

Publisher: Createspace Independent Publishing Platform

ISBN: 9781547290239


Page: 68

View: 9766

Powershell: Become A Master In Powershell So you want to learn about PowerShell? Let me guarantee you that there's not a better book on the market for that. Give me a minute of your time and I'll explain why. First, a lot of books that are supposed to "teach" you aren't good at teaching. They either go too slow, explain everything in baby terms, talk down to you, and leave you feeling like you didn't learn anything, or they're something like a college textbook where everything is incredibly in-depth. The important thing about this book is that it understands that dilemma. If you're looking for a quick guide to get you started on PowerShell, scripting, and automation - one that will boost you from an absolute beginner to somebody with a firm grasp on the concepts that they just spent a bit reading about - then you're looking at just the one. This book has the perfect pace for your busy schedule. Second, this book covers everything you need to know. We go from the very basics of PowerShell - what it even is, for example - to things like retrieving data and formatting and filtering through collections. In the meantime, we talk about things such as PowerShell scripting and how to get the most out of PowerShell by automating certain tasks using scripts. The contents of this book include: What is PowerShell? PowerShell Commands The Programming Logic behind PowerShell Scripting More Advanced - Filtering and Formatting PowerShell Terminology You will be hard pressed to find a book that covers so much important information so solidly, and I guarantee that if you purchase this book, you will absolutely not regret it. In fact, you'll be too busy making super efficient PowerShell scripts to even have time to regret it! So what are you waiting for? Pick up a copy of PowerShell now and get started on your journey to becoming a great PowerShell power user. Be prepared for the future of Microsoft automation! Scroll Up and Click the "BUY" Button Tags: Powershell Scripting, Windows Powershell 5, Javascript, Powershell Scripting Guide, Computer Programming, C++, SQL, Computer Hacking, Programming

Powershell Studio

A Comprehensive Guide

Author: Jeffery Holder

Publisher: Createspace Independent Publishing Platform

ISBN: 9781542658010


Page: 550

View: 7280

" is going to be worth gold to people! the code examples will be invaluable."- Don Jones, President/CEO Master building PowerShell GUI applications with the PowerShell Studio guide PowerShell Studio - A Comprehensive Guide was written for anyone that wants to learn how to develop user-friendly GUI applications for managing and automating small to enterprise level Windows environments. Step-by-step instruction walks you through installation, configuration, operation, and much more as you conquer the development of PowerShell GUI applications. This indispensable guide provides hands-on instruction and detailed conceptual explanations, anchored by practical applications and real-world examples. You will learn how to use the extensive controls in PowerShell Studio as you are taken through in-depth explanations and real-life examples. WARNING: This book will increase your skills in PowerShell! You may very well become the go-to person in your company when it comes to designing and creating systems management applications. This book is the ultimate guide to PowerShell Studio, helping administrators master Integrated Development Environments. Learn to: Installation and Configuration Options Ribbon Bar and Tabs Explained Predesigned Form Templates & Styles Form Controls and Control Sets Designing Custom Form Templates PowerShell Code Examples Implementing Source Control Creating Effective Deployments Extensive Form Control Examples Form Controls Properties Tables GIT and VersionRecall Implementation Tips and Tricks for everyday use Remote Cache Management Step-by-Step Example Projects

Windows PowerShell


Author: Don Jones,Jeffery Hicks

Publisher: SAPIEN Press

ISBN: 0977659720

Category: Computers

Page: 588

View: 2124

Scripting gurus Jones and Hicks teach readers PowerShell from the ground up. They cover its underlying technologies, flexible scripting language, and enough of the .NET Framework to be effective in PowerShell scripting. (Computer Books)

Microsoft Windows PowerShell Step by Step

Author: Ed Wilson

Publisher: N.A

ISBN: 9780735623958

Category: Computers

Page: 296

View: 6897

A guide to using Windows PowerShell to script Windows administrative tasks and control Windows from the command line.

Learn Windows IIS in a Month of Lunches

Author: Jason Helmick

Publisher: Manning Publications

ISBN: 9781617290978

Category: Computers

Page: 343

View: 2394

Offers explanations, examples, and exercises to help manage, secure, and automate IIS, with information on such topics as Web farm design, website management, and Lync servers.

Windows PowerShell Best Practices

Author: Ed Wilson

Publisher: N.A

ISBN: 9780735666498

Category: Computers

Page: 703

View: 5140

Offers tips, examples, and advice on using Windows PowerShell to automate system administration.