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...
Comments are closed.0 0

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

Using New-WebServiceProxy to get, modify, and add items to a list in SharePoint 2007

The motivation Let’s say that you want to retrieve and modify a list in a SharePoint site, but you don’t have access to Microsoft.SharePoint.dll. One possible solution is to try to search online or ask someone to let you copy the dll. If you are able to get a hold of it, you will quickly realize that the Microsoft.SharePoint.dll has some ...
Comments are closed.0 0

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

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 ...
Comments are closed.0 0

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:   I can’t wait to install it and kick the tires! Jeffrey Snover [MSFT] Distinguished Engineer Visit the Windows PowerShell Team blog at:    http...
Comments are closed.0 0

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 ...
Comments are closed.0 0

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...
Comments are closed.0 0

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

Feedback usabilla icon