The PowerShell Scripting and Toolmaking Book

First Edition

Author: Don Jones,Jeffrey Hicks

Publisher: Createspace Independent Publishing Platform

ISBN: 9781544129051

Category:

Page: 424

View: 9260

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 Toolmaking in a Month of Lunches

Author: Don Jones,Jeffery Hicks

Publisher: Manning Publications

ISBN: 9781617291166

Category: Computers

Page: 289

View: 2363

Presents a guide on how to use Windows PowerShell to build administrative tools.

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: 5364

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: 3828

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

Category:

Page: 122

View: 5000

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.

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: 1499

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: 4374

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

Mastering Windows PowerShell Scripting

Author: Brenton J.W. Blawat

Publisher: Packt Publishing Ltd

ISBN: 1782173560

Category: Computers

Page: 282

View: 9841

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.

PowerShell in Practice

Author: Richard Siddaway

Publisher: Manning Publications

ISBN: 9781935182009

Category: Computers

Page: 551

View: 6917

Windows PowerShell is a scripting language that simplifies Windows system administration. PowerShell in Practice is a hands-on reference for administrators wanting to learn and use PowerShell. Following the "in Practice" style, individual related techniques are clustered into chapters. Each technique is presented in the form: problem, solution, discussion, and includes annotated code listings. Written to answer the question "How can PowerShell make my job as an administrator easier?" this book concentrates on practical tasks and automation. Starting with an a brief tutorial and review, the majority of the book focuses on two major PowerShell usage areas: People - user accounts, mailboxes, desktop configuration; and Servers - Active Directory, Exchange, IIS, and more. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.

PowerShell Deep Dives

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

Publisher: Manning Publications Company

ISBN: 9781617291319

Category: Computers

Page: 436

View: 8199

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

Windows PowerShell 3.0 Step by Step

Author: Ed Wilson

Publisher: Microsoft Press

ISBN: 0735669996

Category: Computers

Page: 704

View: 7930

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. Written by a leading scripting expert, this practical tutorial delivers learn-by-doing exercises, timesaving tips, and hands-on sample scripts for performing administrative tasks on both local and remote Windows systems. Discover how to: Use built-in cmdlets to execute commands Write scripts to handle recurring tasks Use providers to access information beyond the shell environment Configure network components with Windows Management Instrumentation Manage users, groups, and computers with Active Directory services Execute scripts to administer and troubleshoot Microsoft Exchange Server 2010

The Pester Book

First Edition

Author: Don Jones,Adam Bertram

Publisher: Createspace Independent Publishing Platform

ISBN: 9781543245912

Category:

Page: 160

View: 9734

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 3.0 First Steps

Author: Ed Wilson

Publisher: Pearson Education

ISBN: 0735680965

Category: Computers

Page: 280

View: 2062

Get started with this powerful Windows administration tool Automate Windows administration tasks with ease by learning the fundamentals of Windows PowerShell 3.0. Led by a Windows PowerShell expert, you’ll learn must-know concepts and techniques through easy-to-follow explanations, examples, and exercises. Once you complete this practical introduction, you can go deeper into the Windows PowerShell command line interface and scripting language with Windows PowerShell 3.0 Step by Step. Discover how to: Create effective Windows PowerShell commands with one line of code Apply Windows PowerShell commands across several Windows platforms Identify missing hotfixes and service packs with a single command Sort, group, and filter data using the Windows PowerShell pipeline Create users, groups, and organizational units in Active Directory Add computers to a domain or workgroup with a single line of code Run Windows PowerShell commands on multiple remote computers Unleash the power of scripting with Windows Management Instrumentation (WMI)

Windows Powershell in Action

Author: Bruce Payette,Richard Siddaway

Publisher: Manning Publications

ISBN: 9781633430297

Category: Computers

Page: 625

View: 3961

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.

Windows PowerShell 2.0 Best Practices

Author: Ed Wilson,Windows PowerShell Teams at Microsoft

Publisher: Pearson Education

ISBN: 0735646104

Category: Computers

Page: 752

View: 3598

Apply best practices for automating system administration with Windows PowerShell 2.0 and optimize your operational efficiency and results. This guide captures the field-tested tips, real-world lessons, and candid advice of practitioners across the range of business and technical scenarios and across the scripting life cycle. Discover how to: Take advantage of new features and cmdlets in Windows PowerShell 2.0 Plan scripting usage scenarios and define standards Deploy Windows PowerShell 2.0 to desktops and servers Configure scripting environments Optimize remote scripting capabilities Work with Active Directory and WMI Design functions and modules Optimize input and output Handle errors Document scripts Test and troubleshoot scripts Avoid scripting pitfalls The companion CD includes a fully searchable eBook and sample scripts. For customers who purchase an ebook version of this title, instructions for downloading the CD files can be found in the ebook.

Windows PowerShell for Developers

Enhance Your Productivity and Enable Rapid Application Development

Author: Douglas Finke

Publisher: "O'Reilly Media, Inc."

ISBN: 1449322662

Category: Computers

Page: 210

View: 3963

Want to perform programming tasks better, faster, simpler, and make them repeatable? Take a deep dive into Windows PowerShell and discover what this distributed automation platform can do. Whether you’re a .NET developer or IT pro, this concise guide will show you how PowerShell’s scripting language can help you be more productive on everyday tasks. Quickly learn how to create PowerShell scripts and embed them into your existing applications, write "little languages" to solve specific problems, and take charge of your code. This book includes example scripts that you can easily pull apart, tweak, and then use in your own PowerShell and .NET solutions. Slice and dice text, XML, CSV, and JSON with ease Embed PowerShell to provide scripting capabilities for your C# apps Create GUI applications five to ten times faster with less code Leverage PowerShell’s capabilities to work with the Internet Interact with DLLs and create objects, automatically display properties, and call methods in live interactive sessions Build domain-specific languages (DSLs) and vocabularies to express solutions more clearly Work with Microsoft Office via the Component Object Model (COM) Discover PowerShell v3 features included with Windows 8 and Windows Server 2012

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: 7591

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

Learning PowerShell

Author: Jonathan Hassell

Publisher: Walter de Gruyter GmbH & Co KG

ISBN: 1501506676

Category: Business & Economics

Page: 215

View: 5963

Learning PowerShell is a custom-built, handcrafted, painstakingly curated book designed to get you from total PowerShell newbie to confident PowerShell user in as little as four weeks. This book assumes no prior knowledge, perfect for non-developers and GUI addicts who recognize that PowerShell is the future but need a good bit of handholding to achieve mastery. It is also a simple guide for the hundreds of thousands of PowerShell users who have not attained the level of PowerShell knowledge that they really need. With Learning PowerShell at your side, you will see that you don't have to be a developer to use PowerShell and you don't need to be a scripting wizard to derive value from integrating PowerShell into your daily administrative activities. The book is a learning resource that covers every topic worth discussing for a PowerShell beginner, with a depth of explanation unparalleled by any book currently on the market. With this book, you don't have to have a lot of time to learn the language and you can begin applying what you master almost immediately. Even skeptics of PowerShell, and command lines in general, will come away with a renewed sense of respect for the language and ideas on how to put it to use.

Powershell and WMI

Author: Richard Siddaway

Publisher: Manning Publications

ISBN: 9781617290114

Category: Computers

Page: 514

View: 2692

Summary PowerShell and WMI is an example-driven guide for administrators managing networks of Windows servers and desktops. With 150 practical examples, including ready-to-reuse scripts and techniques, you'll learn the ins and outs of automating WMI via PowerShell v3. You'll also find deep coverage of all aspects of Windows administration, including IIS, DNS and Hyper-V. About the Technology WMI, on its own, is simply a collection of Windows management facilities. Paired with PowerShell, however, WMI becomes a brilliant toolset for automating servers, networks, and remote Windows computers. About the Book PowerShell and WMI is an industrial-strength guide for administrators of Windows networks, servers, and desktops. You'll start with practical overviews of PowerShell and of WMI. Then you'll explore 150 specific examples—all with ready-to-use scripts—designed to simplify your day-to-day system management. Each tested technique is configured to load as part of a PowerShell module. A set of handy appendixes includes references for PowerShell and WMI. Prior exposure to PowerShell and WMI is helpful but not required. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book. What's Inside Managing Windows, IIS, and Hyper-V Remote desktops and devices Logs, jobs, and performance New PowerShell v3 WMI functionality =============================== Table of Contents PART 1 TOOLS OF THE TRADE Solving administrative challenges Using PowerShell WMI in depth Best practices and optimization PART 2 WMI IN THE ENTERPRISE System documentation Disk systems Registry administration Filesystem administration Services and processes Printers Configuring network adapters Managing IIS Configuring a server Users and security Logs, jobs, and performance Administering Hyper-V with PowerShell and WMI PART 3 THE FUTURE: POWERSHELL V3 AND WMI WMI over WSMAN Your own WMI cmdlets CIM cmdlets and sessions

Lean Change Managment

Innovative Practices for Managing Organizational Change

Author: Jason Little (Management consultant)

Publisher: Happy Melly Express

ISBN: 9780990466505

Category: Management

Page: 180

View: 1279

This book will help you implement successful change and bypass change resistance by co-creating change. The book will do that through examples of how innovative practices can dramatically improve the success of change programs. These practices combine ideas from the Agile, Lean Startup, change management, organizational development and psychology communities. This book will change how you think about change. In this book we will cover: Why does change resistance emerge and what you should NOT do about it. And of course, how to harness that human reaction to the benefit of all involved in the change process. Step-by-step descriptions of how we combined ideas from many change methods and frameworks to develop a customized change management process that was right for The Commission. How you can customize your own change program just like we did at The Commission. How you can involve the people affected in the change in the design of that change. Directly contributing to the success of the change program. A newly appointed CIO had shaken the place up with some big changes, including a transition away from traditional management practices and towards Agile practices. How to implement these modern approaches to management in a very traditional organization? A new approach to change was needed. Lean Change Management was needed. This book describes how myself and team of change agents helped The Commission transform from an old-school public sector to a modern Agile organization. Was it easy? Of course not. But it was possible because of the innovative practices for Change Management that I describe in this book.