On an internal email thread, someone asked Vivek Sharma why they should implement PowerShell. They knew that PowerShell provided scripting but they had a COM interface which already gave them scripting so the question was – what, if any, were the additional benefits to doing PowerShell.
I originally published Ben Pearce’s PowerShell Cheat sheet in Word 2007 format.
Given that I posted it a week before the Office 2007 launch, it turned out that not many people could read that so I posted it in PDF format as well.
One of the cornerstone features of System Center Virtual Machine Manager (SCVMM) is PowerShell. They have built their entire GUI layered on top of PowerShell in the same way that Exchange 2007 did. A little while ago, I talked to Rakesh Malhotra (the Group Program Manager for SCVMM) about how things were going and he was very pleased with their bet on PowerShell.
As Jeffery promised to you folks, today we have offically released Windows PowerShell 1.0 for Microsoft Windows Vista. Thanks to everyone for patiently waiting for this release.
To download Windows PowerShell 1.0 for Windows Vista, please visit the following links:
Download Windows PowerShell 1.0 Installation for X86 Edition
Download Windows PowerShell 1.0 Installation for X64 Edition
For more details,
PowerShell V1 does not provide native support for WMI events. That doesn’t mean that you can’t use WMI events with PowerShell, it just means that you need to leverage the .NET classes to do so. This falls into the category of “to ship is to choose”.
I was in an executive review today where a team was demonstrating their technology (don’t ask for details, I won’t provide any 🙂 ). At some point they brought up this beautiful graphic showing the geographic distribution of resources and then the graph was changing based upon the state of the resources.
A question came up in the PowerShell news group recently where someone was asking how they could prevent functions from being redefined.
There are a couple of approaches you can use. First you can make functions read-only or constant. This is pretty straight-forward but does have some downsides.
nsoftware has released Beta 2 of NetCmdlet, a PowerShell snapin which provides Cmdlets for a wide range of protocols. The following is from their Release Notes:
New In Beta 2
The current release is packed with new features, new functionality, and new Cmdlets for network management and Internet Communications.
Attached is a PDF version of Ben Pearce’s PowerShell Cheat Sheet.
In the past I’ve encouraged everyone to speak up and complain if we were messing up or not giving you what you needed. I’m pleased to see that you have taken this to heart (seriously).
Ben Pearce was gracious enough to put together a good looking PowerShell Cheat Sheet which I’ve included as an attachment to this blog post. By definition, a cheat sheet is incomplete so this contains the things that Ben has found to be the most import.