Same Command. Different Return Types.

My command seems to behave differently depending on how many items were returned. This is something that the PowerShell Team hears from the community or our internal partners every couple of weeks. This blog post will explain when a Windows PowerShell command returns different types and offer some reasons for why it is done this… Read more

The Great Dollar Dollar

No, I’m not talking about our newest rap single. I’m talking about PowerShell’s most hidden gem. The one you can show to most members of even the PowerShell team, and have them gasp – “oh, that’s cool! I gotta remember that!” And it’s not even for lack of documentation! Here are the first few lines… Read more

PowerGUI Scripting Challenge

One of the best ways to learn a technology or take your understanding to the next level is to challenge yourself by entering a contest.   Well, here is your opportunity.  The Quest Software PowerGUI Challenge contest is currently ongoing and finishes on November 15th, 2010.  This contest gives you an opportunity to win a gift… Read more

“A jug fills drop by drop” – Quest PKI Cmdlets

The Buddha once said that, “A jug fills drop by drop”.  In this case, the jug is universal PowerShell cmdlet coverage which is a really large jug!  We’ve never been confused on this point – I’ve often referred to it as the “30 year hole” that we needed to dig ourselves out of.  When PowerShell… Read more

Designing Cmdlets That Have Lots of Parameters

We often get the question of what to do about a cmdlet that has lots of parameters.  Do you break it up into multiple commands or just have a single cmdlet with lots of parameters.  Here is the way I think about it: If you have to enter 100 things to get a job done,… Read more

Intel vPro PowerShell Module

Intel has released version 1.0 of their Intel Core vPro PowerShell Module.  This set of cmdlets do Out-of-Band hardware management of devices that are equipped with the vPro chip.  What that means is that you can do a certain amount of management on devices that don’t have an OS or whose OS is hung (if… Read more

PowerShell V2.0 Book Available in Italian

Efran Cobisi has published a PowerShell V2 book in Italian.  The title is “Windows PowerShell 2.0 – Guida completa” and is a 448 pages long.  Efran describes it as “a collection of theory, insides and hints on the scripting environment, the programming language and the most used cmdlets. It’s targeted to both developers and IT… Read more

Improving Parameter Set Design

Designing useable cmdlets is part engineering and part art. It’s not an easy task to define the conceptual boundaries of a cmdlet (where does one cmdlet end and the next begin) or to provide great feature control without inundating the user with parameters. However, you can improve the usability of your cmdlets by avoiding two… Read more

Windows PowerShell 2.0 on Windows Update

Today, we released Windows PowerShell 2.0 and WinRM 2.0 for pre-Windows 7 operating systems on Windows Update. This non-security, optional update is designed for Windows Server 2008 SP2, Windows Vista SP2, Windows Server 2003 SP2, and Windows XP SP3. Windows PowerShell 2.0 and WinRM 2.0 are also available as part of  the Windows Management Framework (WMF) Core Package on… Read more