Book Image

Microsoft Windows PowerShell 3.0 First Look

By : Adam Driscoll
Book Image

Microsoft Windows PowerShell 3.0 First Look

By: Adam Driscoll

Overview of this book

<p>In an ever growing and changing computer industry, learning how to manage systems effectively is necessary for any administrator. The new features in PowerShell 3.0 extend the already impressive language to support new features that makes working with complex and distributed systems simpler and faster. <br /><br /><i>Microsoft Windows PowerShell 3.0 First Look</i> offers a quick look into the new features available in the most recent version of the language. Quick, to-the-point examples ensure that you will be able to easily understand the new features. <br /><br />Starting with simple syntactical changes all the way through Windows Worflow integration, you will learn through concise feature analysis and simple examples.</p> <p>Throughout this book you will get to grips with changes to the language to aid usability &ndash; making administrators' lives easier. New features will be explored such as Windows Workflow integration and extended WMI capabilities. This book includes a chapter outlining some of the most important new cmdlets and modules found in Windows 8 and Windows Server 8.<br /><br />Microsoft Windows PowerShell 3.0 First Look will provide a jump start for administrators or power users who want to grasp new features, language changes, and cmdlet offerings found in the new version of Microsoft PowerShell.</p>
Table of Contents (14 chapters)
Microsoft Windows PowerShell 3.0 First Look
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
3
Improved Administration
Index

Preface

With PowerShell quickly becoming the de-facto standard for automation, on the Windows platform, it is becoming a necessity to learn and understand the language. Microsoft Windows PowerShell 3.0 First Look will ensure that you have a great overview of the numerous new features and changes found in the most recent version of the language. Through simple examples and succinct chapters, this book will quickly bring readers up to speed with need to know information about the newest version of PowerShell.

What this book covers

Chapter 1, Find what you're looking for, covers the new Show-Command cmdlet, updatable help and the module auto-discovery feature.

Chapter 2, Usability Enhancements, looks at the enhancements to the Where-Object, ForEach-Object, Get-ChildItem, and tab expansion.

Chapter 3, Improved Administration, covers improvements to administration including scheduled jobs, improved remote sessions, and an enhanced Restart-Computer cmdlet.

Chapter 4, Windows Workflow in PowerShell, examines Windows Workflow and how it has been integrated into Windows PowerShell.

Chapter 5, Using the Common Informational Model, looks at the Common Informational Model and the host of new cmdlets that are available to manage Windows and non-Windows devices.

Chapter 6, New and Improved PowerShell Hosts, looks at the new PowerShell Web Access and the greatly enhanced PowerShell Integrated Scripting Environment.

Chapter 7, Windows 8 and Windows Server 2012 Modules and Cmdlets, looks at some of the interesting new modules and cmdlets found in Windows 8 and Windows Server 2012.

What you need for this book

This book requires that you have the Windows Management Framework (WMF) version 3 installed. WMF version 3 requires that you are running Windows 7, Windows Server 2008, or Windows Server 2008 R2.

The final chapter in this book requires an installation of Windows 8 or Windows Server 2012. There are chapters within this book that show the use of Microsoft Visual Studio 2010 but this is not required to take full advantage of this book.

Who this book is for

This book is intended for IT administrators that are looking to quickly come up to speed on the new functionality found in PowerShell 3.0. Some PowerShell experience may be necessary to take full advantage of some of the topics covered in this book.

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: The Show-Command is an interesting cmdlet to add to an until-now-command line-only shell.

Any command-line input or output is written as follows:

PS C:\> Show-Command New-Item

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: When clicking on the Run button, the command is executed and output is not displayed in the user interface, but rather written to the console.

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know — what you think about this book what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.

To send us general feedback, simply send an e-mail to , and mention the book title through the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide on www.packtpub.com/authors.

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Downloading the example code

You can download the example code files for all Packt books you have purchased from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.

Errata

Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books — maybe a mistake in the text or the code — we would be grateful if you would report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/support, selecting your book, clicking on the errata submission form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded to our website, or added to any list of existing errata, under the Errata section of that title.

Piracy

Piracy of copyright material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works, in any form, on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at with a link to the suspected pirated material.

We appreciate your help in protecting our authors, and our ability to bring you valuable content.

Questions

You can contact us at if you are having a problem with any aspect of the book, and we will do our best to address it.