PowerShell Team

Automating the world one-liner at a time…

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 ...

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 common ...

Specifying a View in TechNet and MSDN URIs

[This isn't only a PowerShell topic, but I've been asked a few times, so I thought I post the answer here.] If you've visited TechNet or MSDN lately, you'll notice that there are new view options for the pages. TechNet has a new ScriptFree view, in addition to the familiar Classic view. MSDN has two new views, ScriptFree and Lightweight. When ...

PowerShell Integration Into Visual Studio

Quest has released a beta of PowerGUI Visual Studio (aka PowerGUI VSX).  Check out Kirk Munro’s blog entry HERE for more details.  Check out this screenshot:  (image) I can’t wait to install it and kick the tires! Jeffrey Snover [MSFT] Distinguished Engineer Visit the Windows PowerShell Team blog at:  &...

Kudos to NetApp for Data ONTAP PowerShell ToolKit

Kudos to NetApp for releasing the Data ONTAP PowerShell Toolkit last week at TechEd. I was monitoring the twitter feeds last week and saw a flurry of activity talking about NetApp’s broad adoption of PowerShell and release of the Data ONTAP PowerShell Toolkit surfacing all of their management functionality through cmdlets. I decided to ...

Export and Import PowerShell ISE Opened Files

Unlike other tools, PowerShell ISE doesn’t have project files. Project files are a good way to set your environment up with a well known state. Thanks to the ISE Object Model, it is possible to add some project functionality. The script below has two main functions “Export-ISEState” and “Import-ISEState”. They can...

Save All PowerShell ISE files

PowerShell ISE is a simple tool and in some cases it has the bare essentials. For instance, it does not have an option to save all files. On the flipside, it offers an Object Model from its first version that allows adding features beyond the essentials like this one and many more.  If we had the "Save All" option in the ISE, one ...