Scripting with Windows PowerShell

Script Center

Windows PowerShellScript Center

Scripting with Windows PowerShell brings together resources for system administrators who are interested in learning about the Windows PowerShell command line and scripting environment. Like Windows PowerShell, this section of the Script Center is under active development. Please let us know how we could make the site more useful for you.




Windows PowerShell Usability Study

IT Administrators with PowerShell Experience Wanted for Usability Studies in the Redmond AreaIT Administrators with PowerShell Experience Wanted for Usability Studies in the Redmond Area

Microsoft Usability is conducting a study focusing on the remoting feature of PowerShell version 2 from July 22 to July 29, 2008. This is a great opportunity for IT administrators who have experience working with PowerShell to provide feedback and help improve the user experience of PowerShell version 2.

 The study will be conducted in a lab setting on Microsoft’s main campus in Redmond, Washington. It is important for you to know that you do not need to prepare anything for this. We want to learn from you, the experts, to determine what needs to be improved in our software. We highly value your feedback and will be offering you a gratuity option in appreciation of your time and participation.

If you are interested or know someone who could be interested in participating, please email us at uccoord@microsoft.com with PowerShell in subject line. For information on other studies and to learn more about Microsoft's User Research program email us.


Windows PowerShell 2.0 CTP

Windows PowerShell 2.0 CTP Home PageWindows PowerShell 2.0 CTP Home Page

There’s so much new stuff in the Community Technology Preview (CTP) of Windows PowerShell 2.0 that we gave it its own page. Now included: all new articles for the second release of the CTP.


Free Books and Courseware Files Free Books and Courseware Files

Frank Koch has released a second (and absolutely free!) book on Windows PowerShell: Administrative Tasks Using Windows PowerShell. Frank’s new download also includes his first book Windows PowerShell) as well as all the materials from his popular PowerShell training course.

Windows PowerShell Holiday Gift GuideWindows PowerShell Holiday Gift Guide

Find the perfect gift for that all-important scripter in your life in the Windows PowerShell Holiday Gift Guide. From script editors to books, from Active Directory to Group Policy, find out about the cool stuff available for Windows PowerShell this season.

Windows PowerShell ToolboxWindows PowerShell Toolbox

A valuable list of resources for every Windows PowerShell scripter.


Getting Started

Windows PowerShell Owner’s ManualWindows PowerShell Owner’s Manual

Here’s the guide for learning Windows PowerShell from the ground up.

VBScript to Windows PowerShell Conversion GuideVBScript to Windows PowerShell Conversion Guide

Are you a VBScript script writer looking to try your hand at Windows PowerShell? Then you might want to take a look at our conversion guide which shows you how to replicate VBScript functions and methods in Windows PowerShell.

A Task-Based Introduction to Windows PowerShellA Task-Based Introduction to Windows PowerShell

What can you do with Windows PowerShell? Not much … well, except read and write to text files; save data in XML or HTML format; sort, filter, and/or group data …. You get the idea. We have scores of short articles that show you how to carry out common tasks either within scripts or from the command prompt.


Weekly Update

Tip of the WeekTip of the Week

Check out these quick tips, published every Friday.

Tip of the Week Archive


Windows PowerShell Scripts

Windows PowerShell Script RepositoryWindows PowerShell Script Repository

Browse a repository of sample Windows PowerShell scripts.


Articles

Searching Active Directory with Windows PowerShellSearching Active Directory with Windows PowerShell

Search Active Directory using Windows PowerShell.

Picking Up the TabPicking Up the Tab

Learn how one little key on your keyboard - the Tab key - can make working with Windows PowerShell much easier.

Accessing WMI from Windows PowerShellAccessing WMI from Windows PowerShell

Is there any reason to use Windows PowerShell to access WMI data? Well, actually there are plenty of reasons. Find out all about it in this article.

Hip, Hip, Array: Retrieving Multi-Valued WMI Properties Using Windows PowerShellHip, Hip, Array: Retrieving Multi-Valued WMI Properties Using Windows PowerShell

It’s every WMI scripter’s nemesis: properties that store their values as arrays. Is Windows PowerShell up to the challenge? Do you even have to ask?

Do Scripters Dream of Magenta-Colored Text?Do Scripters Dream of Magenta-Colored Text?

See, because there’s this science fiction story Do Androids Dream of Electric Sheep? and we thought we’d – well, never mind. If you’d like to know how to use Windows PowerShell to display script output in living color, then this is the article for you.


Webcasts

PowerShell WeekPowerShell Week

PowerShell Week is a series of five Webcasts that were held November 6 - 10, 2006 on TechNet. These Webcasts will provide you with a thorough introduction to Windows PowerShell.

Next Generation Command Line Scripting with Windows PowerShell (codenamed “Monad”) -- Part 1 of 2Next Generation Command Line Scripting with Windows PowerShell (codenamed “Monad”) -- Part 1 of 2

What is the next generation Microsoft command-line shell automation and scripting technology and how does it fit into the realm of tools and languages? To find out, join Jeffrey Snover in this webcast, one of the top rated sessions from Tech·Ed 2005 in Orlando, Florida.

Next Generation Command Line Scripting with Windows PowerShell (codenamed “Monad”) -- Part 2 of 2Next Generation Command Line Scripting with Windows PowerShell (codenamed “Monad”) -- Part 2 of 2

Join us as we drill down into more details of the functionality of the next generation Microsoft command-line shell automation and scripting technology."


Virtual Labs

Introduction to Windows PowerShell Virtual LabIntroduction to Windows PowerShell Virtual Lab

Learn some of the fundamentals of Windows PowerShell by walking through this self-paced virtual lab.

Writing Scripts with Windows PowerShellWriting Scripts with Windows PowerShell

As a follow-up to Windows PowerShell Week, the Scripting Guys held a combination Virtual Lab/Webcast, known as a Labcast. This was a bit of an experiment, and while everything didn’t go flawlessly during the live presentation, the Labcast is now available on-demand. You’ll be able to walk through the Virtual Lab environment while the recorded version of the Webcast plays and guides you through the lessons. When you’re done, feel free to let us know what you thought of the Labcast experience.


Books on Windows PowerShell

Windows PowerShell in ActionWindows PowerShell in Action

A three-part series based on Chapter 10 of Windows PowerShell in Action from Manning Publications, which examines how Windows PowerShell handles text and file processing tasks.
Part 1: Processing Unstructured Text
Part 2: File Processing in PowerShell
Part 3: XML Processing in PowerShell

Microsoft Windows PowerShell Step By StepMicrosoft Windows PowerShell Step By Step

This book, by Ed Wilson, offers self-paced learning designed to teach you how to administer your systems with Windows PowerShell. We don’t have any sample chapters, but this book does include the VBScript to Windows PowerShell Conversion Guide, both in the book and on the accompanying eBook.


Interviews

Interview with Lee HolmesInterview with Lee Holmes

Windows PowerShell developer and author of the Windows PowerShell Cookbook Lee Holmes chats with the Scripting Guys.

Interview with Windows PowerShell ArchitectInterview with Windows PowerShell Architect

Meet Jeffrey Snover, the software architect responsible for Windows PowerShell.

Downloads

Downloads

Windows PowerShell 2.0 CTP v2

Community Technology Preview 2 release.

Windows PowerShell 2.0 CTP

Community Technology Preview release.

Windows PowerShell Release 1.0

Software installation includes product documentation.

Windows PowerShell 1.0 Graphical Help

Fully-searchable and easily-readable version of Windows PowerShell Help, plus instructions on how to access this help from a cmdlet.

Windows PowerShell Cheat Sheet

Quick Reference guide to using Windows PowerShell.


Resources

Resources

Windows PowerShell Product Page

Script Center

Script Center Home
Script Repository
Scripting Tools

External

The Windows PowerShell Information Centre
Windows PowerShell Team Blog
Windows PowerShell Quick Start Command Reference

For more information on scripting, visit the TechNet Script Center home

Top of pageTop of page