TechNet Magazine: Windows PowerShell
All TechNet Magazine Topics
Windows PowerShell: Filter Left, Format Right
Don Jones - September 2009
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.
Windows PowerShell: Stay Seated!
Don Jones - August 2009
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.
Hey, Scripting Guy!: Back Up Your Event Logs with a Windows PowerShell Script
The Microsoft Scripting Guys - July 2009
The Microsoft Scripting Guys create a Windows PowerShell script that provides an easy way to back up, archive, and clear your event log files.
Group Policy: Automating Group Policy Management with Windows PowerShell
Darren Mar-Elia - June 2009
Group Policy is used in almost every environment and relied on by many to secure and their Windows environment. Surprisingly few have introduced automation into the process, however. This article explains how to take advantage of the GPMC APIs and Windows PowerShell to automate management of Group Policy in your organization.
Windows PowerShell: Automating User Provisioning, Part 4
Don Jones - June 2009
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.
Windows PowerShell: Automating User Provisioning, Part 3
Don Jones - May 2009
Don Jones continues his four-part series that explains how you can create an automated provisioning function in Windows PowerShell
Hey, Scripting Guy!: Working with Access Databases in Windows PowerShell
The Microsoft Scripting Guys - May 2009
Automating data entry is more important than ever, and today’s automation language is Windows PowerShell. This article uses Windows PowerShell to collect some data about the local computer and write it to an Office Access database.
Windows PowerShell: Automating User Provisioning, Part 2
Don Jones - April 2009
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.
Hey, Scripting Guy!: Creating CAB Files with Windows PowerShell
The Microsoft Scripting Guys - April 2009
File compression is even more useful when you can automate the process via scripting. Here are some Windows PowerShell scripts you can use to create and expand cab files.
Windows PowerShell: Automating User Provisioning, Part 1
Don Jones - March 2009
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.
Hey, Scripting Guy!: Watch the Stopwatch
The Microsoft Scripting Guys - March 2009
The Scripting Guys demonstrate a script that times an activity and writes the results to the registry. After subsequent runs, the script retrieves the previous value from the registry and tells you both the current time and the previous time.
Windows PowerShell: Best Inventory Tool Ever!
Don Jones - February 2009
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.
Hey, Scripting Guy!: Browsing Active Directory
The Microsoft Scripting Guys - February 2009
This installment clears up some confusion over Active Directory Browser, ADSI Scriptomatic, and browsing Active Directory. And in doing so, the Scripting Guy creates a Windows PowerShell script that will allow you to browse the Active Directory schema.
Windows PowerShell: Trapping Errors
Don Jones - January 2009
Learn how you can implement error-handling in Windows PowerShell.
Windows PowerShell: Building a Better Inventory Tool
Don Jones - December 2008
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.
Windows PowerShell: Building Your Own Software Inventory Tool
Don Jones - November 2008
Don Jones demonstrates a Windows PowerShell-based inventory tool and guides you through the process that goes into building such a solution.
Windows PowerShell: The Power of Profiles
Don Jones - October 2008
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.
Windows PowerShell: String Theory
Don Jones - September 2008
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.
System Center: Windows PowerShell in System Center Operations Manager
Marco Shaw - August 2008
Windows PowerShell has been integrated into System Center Operations Manager 2007, offering a powerful way to perform and automate common administrative tasks. Get an overview of how you can use Windows PowerShell in OpsMgr to perform routine maintenance, manage agents, and more.
Windows PowerShell: A Sneak Peek at Remote Management in Version 2.0
Don Jones - August 2008
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.
Hey, Scripting Guy!: Taking the Express Route
The Microsoft Scripting Guys - August 2008
With Windows Vista, the UserAccounts.CommonDialog ActiveX control for opening a file open dialog box no longer exists. Here's a look at how you can solve that problem using Visual Basic Express Edition.
Windows PowerShell: The Drop Box
Don Jones - July 2008
Don Jones discusses filtering functions, the pipeline, custom objects, and how ping-pong balls hold the secret to understanding Windows PowerShell.
Windows PowerShell: Looking Good
Don Jones - June 2008
Discover how the object-oriented nature of Windows PowerShell allows you to apply formatting to its output.
Windows PowerShell: Automating Directory Management
Don Jones - May 2008
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.
Windows PowerShell: Sign Here, Please
Don Jones - April 2008
An overview of signing your scripts for improved security.
Security Watch: Where Is My PII?
Frank Simorjay - April 2008
Before you can effectively protect your Personally Identifiable Information, you must know where it’s stored on your PC. Here's a look at how to write scripts that will locate personal data stored on your computer. You just might be surprised at what these scripts uncover.
Windows PowerShell: Progress Report
Don Jones - March 2008
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.
Windows PowerShell: Shell Permissions
Don Jones - February 2008
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.
Windows PowerShell: Heading Off Malicious Code
Don Jones - January 2008
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.
Windows PowerShell: Digging Deeper
Don Jones - December 2007
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.
Windows PowerShell: Writing Regular Expressions
Don Jones - November 2007
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.
Windows PowerShell: Working Without a Script
Don Jones - October 2007
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.
Windows PowerShell: Securing the Shell
Don Jones - September 2007
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.
Windows PowerShell: The Power of Filtering
Don Jones - August 2007
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.
Windows PowerShell: Rethinking the Pipeline
Don Jones - July 2007
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.
Windows PowerShell: Working with Active Directory
Don Jones - June 2007
Windows PowerShell doesn't provide a Get-ADSIObject cmdlet, but that doesn't prevent it from ogffering strong ADSI support. Get an introduction to type adapters and learn how you can use Windows PowerShell to work with directiory objects.
Windows Administration: Simplify Group Policy Administration with Windows PowerShell
Thorbjörn Sjövold - May 2007
Windows PowerShell is set to make your job significantly easier. See how GPMC APIs written for Windows Scripting Host languages can be consumed directly from Windows PowerShell, greatly simplifying the way you manage Group Policy.
Windows PowerShell: The WMI Connection
Don Jones - May 2007
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.
Windows PowerShell: Filtering and Formatting Data
Don Jones - April 2007
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.
Windows PowerShell: The Power of Variables
Don Jones - March 2007
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.
Windows PowerShell: Scripting One Line at a Time
Don Jones - February 2007
Windows PowerShell: Windows PowerShell Constructs
Don Jones - January 2007
Windows PowerShell: Simple Commands. Powerful Administration
Don Jones - December 2006
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.