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 professionals and con...
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 paramete...
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 depende...
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 Window...
[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 you c...
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://bl...
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 investigat...
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 be u...
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 interes...
When you have multiple PowerShell tabs open in the ISE, it may be handy to rename them, so you can tell which is which. This is especially useful when using Remoting with Enter-PSSession. The problem when using Enter-PSSession is that you have no access to the root ISE object ($psise) when remoting, so you should use another (local...