Skip to main content
TechNet

TechNet Magazine Columns

Windows PowerShell

Don Jones
Each month this year, Don Jones will present an installment in a 12-part tutorial on Windows PowerShell Workflow. We encourage you to read through the series in order, beginning with the January 2013 column.
June2013
Don Jones
Each month this year, Don Jones will present an installment in a 12-part tutorial on Windows PowerShell Workflow. We encourage you to read through the series in order, beginning with the January 2013 column.
May2013
Don Jones
Each month this year, Don Jones will present an installment in a 12-part tutorial on Windows PowerShell Workflow. We encourage you to read through the series in order, beginning with the January 2013 column.
April2013
Don Jones
Each month this year, Don Jones will present an installment in a 12-part tutorial on Windows PowerShell Workflow. We encourage you to read through the series in order, beginning with the January 2013 column.
March2013
Don Jones
Each month this year, Don Jones will present an installment in a 12-part tutorial on Windows PowerShell Workflow. We encourage you to read through the series in order, beginning with the January 2013 column.
February2013
Using a Windows PowerShell workflow can be a complex process, but ultimately worthwhile in the functionality it provides.
January2013
Don Jones
You can run into some tricky situations when Remoting with Windows PowerShell. Just be careful how many times you make the hop.
December2012
Don Jones
You can add your own comments to your scripts, creating your own online help and tutorial system.
November2012
Don Jones
The profile scripts are a powerful way to customize Windows PowerShell and have it ready to work the way you want it to work.
October2012
Don Jones
You don’t have to overthink the problem when you can use Windows PowerShell to get things done quickly and easily.
September2012
Don Jones
There are simple and complex ways to define parameters in Windows PowerShell, and both ways have their benefits.
August2012
Don Jones
Windows PowerShell has a variety of ways of dealing with text formatting, which is powerful but often confusing.
July2012
Don Jones
Some new syntax commands in Windows PowerShell version 3 help you write easier-to-read, but somewhat limited, commands.
June2012
Don Jones
As with many other Windows PowerShell functions, there’s more than one way to open it in the first place.
May2012
Don Jones
There are usually many ways to do the same thing in Windows PowerShell. Find the one that works for you and stick with it.
April2012
Don Jones
You can configure Windows PowerShell to use data stored in a SQL Server database. Here’s how.
March2012
Don Jones
Text-based reports can be dull and less informative, so why not use Windows PowerShell to generate HTML reports?
February2012
Don Jones
It doesn’t really matter which approach you choose for outputting custom objects, as long as a custom object is your end result.
January2012
Don Jones
Have you seen Windows PowerShell version 3 yet? You should make a point to check it out.
December2011
Don Jones
This extended Windows PowerShell column will jump-start your knowledge of this powerful technology.
November2011
Don Jones
Proper formatting, including a little whitespace here and there, can make your Windows PowerShell commands a heck of a lot easier to understand.
October2011
Don Jones
The advanced functions of Windows PowerShell—called Script cmdlets—can be somewhat confusing, but here’s a way to direct their setup and cleanup functions.
September2011
Don Jones
The Advanced Functions in Windows PowerShell 2.0 let you emulate native cmdlets with a relatively simple script.
August2011
Don Jones
You can use some Windows PowerShell code to configure your databases to store exactly what you need.
July2011
Don Jones
One way or the other, Windows PowerShell can recall your most recently used commands, which can be a huge help.
June2011
Don Jones
You can actually use Microsoft Windows PowerShell cmdlets to generate HTML reports you can share with your colleagues.
May2011
Don Jones
Remoting is one the most powerful aspects of Windows PowerShell, so it’s well worth looking into at a deeper level.
April2011
Don Jones
Bundling parameters before sending them along to a command can save you time, but only if you’re using the latest version of Windows PowerShell.
March2011
Don Jones
You can accomplish some interesting things with dot-sourcing, but that can also lead to certain limitations if you’re not careful.
February2011
Don Jones
You can repackage and reuse your efforts when it comes to Windows PowerShell commands and cmdlets.
January2011
Don Jones
The new Troubleshooting Packs in Windows 7 help walk you through some of the most common problems you’re likely to encounter.
December2010
Don Jones
Don’t be intimidated by the term “scripting,” because you can do a lot with Windows PowerShell using simple commands.
November2010
Don Jones
There are more ways to generate output using Windows PowerShell than you may think. Here are some that have recently come to light.
October2010
Don Jones
Serializing can help when exporting or retrieving objects with Windows PowerShell.
September2010
Don Jones
Tracking, notifying and responding to system-level events is something Windows does well, but you can also do that with Windows PowerShell.
August2010
Don Jones
Now that Windows PowerShell v.2 supports transactional operations, make sure they all complete successfully before saving any changes.
July2010
Don Jones
A little-known feature in Windows PowerShell 2.0 can help you add a considerable degree fo flexibility to your environment. Our PowerShell superhero shows us how.
June2010
Don Jones
Our PowerShell expert Don Jones looks at how modules work in Windows PowerShell version 2.
April2010
Don Jones
As you work with Windows PowerShell and start creating scripts and functions for others to use, are you making sure there’s actually a set of instructions for them to read?
March2010
Don Jones
PowerShell is favorite admin option for many IT pros, and PowerShell v2 makes it even more useful by bring PowerShell scripting to Active Directory.
January2010
Don Jones
Working with regular expressions can provide great value, but be like solving a puzzle. Read this article for an example of a real-life, practical application of regular expressions and discover a trick for using them.
December2009
Don Jones
One big question about writing a user-provisioning script using Windows PowerShell: handling the errors that occur when you’re trying to create a username that already exists. Read this article for an approach that neatly addresses that issue.
October2009
Don Jones
Two of the biggest Windows PowerShell headaches involve filtering and formatting. Learn about two simple rules that can help you avoid problems in both areas.
September2009
Don Jones
Windows PowerShell v2 aims to fix the server management shortcomings of Windows Management Instrumentation. Don Jones shows how the new remoting features in Windows PowerShell v2 are a powerful and simple way to run any commands on remote computers.
August2009
Don Jones
Don Jones shares his top six common suggestions to improve Windows PowerShell scripts.
July2009
Don Jones
Don Jones concludes his four-part series on automating user provision with Windows PowerShell. In this final edition, Don discusses adding users to domain groups and modifying directory attributes.
June2009
Don Jones
Don Jones continues his four-part series that explains how you can create an automated provisioning function in Windows PowerShell
May2009
Don Jones
Don Jones continues his look at how you can use Windows PowerShell to automate user provisioning. In this installment, Don details the function that will create a mail-enabled user in Active Directory.
April2009
Don Jones
Don Jones kicks off a four part series that will look at how you can use Windows PowerShell to create a real-world user provisioning script.
March2009
Don Jones
In the past few installments of the Windows PowerShell column, Don Jones has been demonstrating how to develop a Windows PowerShell-based inventory tool. In this installment, Don brings it all together into a very powerful, full-featured tool, and offers some guidance on customizing the tool for your own needs.
February2009
Don Jones
Learn how you can implement error-handling in Windows PowerShell.
January2009
Don Jones
Following up on the November installment of his Windows PowerShell column, Don Jones demonstrates an even better inventorying tool and demonstrates a sound process for building your own custom Windows PowerShell functions.
December2008
Don Jones
Don Jones demonstrates a Windows PowerShell-based inventory tool and guides you through the process that goes into building such a solution.
November2008
Don Jones
Ever wish Windows PowerShell would launch with a work environment tailored to your needs? Don Jones demonstrates how you can use profiles to customize the Windows PowerShell shell.
October2008
Don Jones
Despite its object oriented nature, Windows PowerShell is also able to parse complicated strings. Don Jones demonstrates how you can do this in Windows PowerShell using Select-String.
September2008
Don Jones
Windows PowerShell 2.0 is in the works and the latest CTP provides some great new capabilities. Here’s a look at remoting—one of the most exciting new features you'll find in Windows PowerShell 2.0 CTP2.
August2008
Don Jones
Don Jones discusses filtering functions, the pipeline, custom objects, and how ping-pong balls hold the secret to understanding Windows PowerShell.
July2008
Don Jones
Discover how the object-oriented nature of Windows PowerShell allows you to apply formatting to its output.
June2008
Don Jones
Version 1 of Windows PowerShell offers less than impressive Active Directory management capabilities. Find out how you can use add-ins to get more powerful ways to work with Active Directory objects from within Windows PowerShell.
May2008
Don Jones
An overview of signing your scripts for improved security.
April2008
Don Jones
For your users with attention span issues—and even those without—providing status feedback in your scripts is a good idea. Here's all you need to know to provide status in Windows PowerShell.
March2008
Don Jones
Permissions in Windows are, unfortunately, innately complicated. But Windows PowerShell can help. Get a quick overview of how permissions in Windows work and find out how you can simplify the task of working with them.
February2008
Don Jones
When designing Windows PowerShell, a lot of thought was put into security. But, as with any software, Windows PowerShell can still be exposed to malicious code. Here are some recommendations for choosing an Execution Policy that will keep your systems more secure.
January2008
Don Jones
Windows PowerShell provides many features that often get overlooked. By taking a methodical approach to exploring Windows PowerShell cmdlets, you will unearth some powerful capabilities that you haven't yet noticed.
December2007
Don Jones
With a well-written regular expression, a Windows PowerShell script can determine whether or not data conforms to a valid format. Get an overview of how you can use Regular Expressions in Windows PowerShell.
November2007
Don Jones
Have you put off using Windows PowerShell because you don't have time to learn how to script. Don't worry. Here's a look at how you can start using Windows PowerShell immediately, without writing a lick of code.
October2007
Don Jones
When designing Windows PowerShell, Microsoft gave security a leading role. And it shows. Take a look at some of the key security features and settings, such as credential handling and execution policies, that ensure Windows PowerShell won’t fall game to the same problems that VBScript enabled.
September2007
Don Jones
The pipeline isn't just for cmdlets. Take a look at how you can use the Windows PowerShell pipeline to add handy filtering capabilities to your scripts.
August2007
Don Jones
Don't mistake the pipeline in Windows PowerShell for the UNIX pipeline. The Windows PowerShell pipeline is responsible for far different and far more powerful functionality.
July2007
Don Jones
Windows Management Instrumentation is an incredibly useful technology for exposing system information. Find out how Windows PowerShell can make WMI infinitely easier to learn and use.
May2007
Don Jones
Windows PowerShell provides easy access to a wide range of data. In its raw state, however, this data isn’t ready for typical business purposes. Learn how to customize the data you gather by filtering, specifying properties, and applying formatting.
April2007
Don Jones
In Windows PowerShell, variables are mapped to underlying classes in the .NET Framework, providing more powerful capabilities than are possible in previous scripting languages. Explore the inner-workings of how these variables work, and learn how to use them.
March2007
Don Jones
Windows PowerShell is about to launch, offering Windows administrators the easiest and most flexible way to automate a wide variety of administrative tasks. Discover what you need to know to start performing administrative tasks more effectively using this powerful command-shell tool.
December2006