Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

PowerShell examples for the book "PowerShell for Developers"

branch: master
README.md

PowerShell for Developers

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 with 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

This Repo

This repository contains the latest definitive bug fixed source code for examples from PowerShell for Developers.

In general, you may use the code in this book in your programs and documentation. You do not need to contact us for permission unless you’re reproducing a significant portion of the code. For example, writing a program that uses several chunks of code from this book does not require permission. Selling or distributing a CD-ROM of examples from O’Reilly books does require permission. Answering a question by citing this book and quoting example code does not require permission. Incorporating a significant amount of example code from this book into your product’s documentation does require permission.

We appreciate, but do not require, attribution. An attribution usually includes the title, author, publisher, and ISBN. For example:

PowerShell for Developers, by Douglas Finke (O’Reilly). Copyright 2012 O'Reilly Media, 978-1-4493-2270-0.

If you feel your use of code examples falls outside fair use or the permission given above, feel free to contact us at permissions@oreilly.com.

If you are interested in this code, please consider buying a copy of the book, which is available in many formats via oreilly.com:

oreilly.com/catalog/0636920024491

You get lifetime access to ebooks you purchase through oreilly.com. Read more about O'Reilly's ebook program here: oreilly.com/ebooks.

Book Description

Book Cover

The PowerShell platform gives developers seamless integration with legacy .Net code while adding a range previously not seen in a language. With this book you will quickly learn the fundamentals, and move on to writing rich, sophisticated scripts to manage key tasks and processes in your development activities. PowerShell .Net for Developers begins with a cheat sheet of language primitives to get you on your feet with the language. You’ll see how to speed up nearly every aspect of the development process using PowerShell.

If you have general questions or comments, please visit getsatisfaction.com/oreilly.

Contact Us

We'd like to hear from you!

For more information about O'Reilly books, courses, conferences, and news, see our website at oreilly.com.

Find us on Facebook: facebook.com/oreilly

Follow us on Twitter: twitter.com/oreillymedia

Watch us on YouTube: youtube.com/oreillymedia

Something went wrong with that request. Please try again.