PowerShell 2 CTP3 – Custom Accelerators, Finally!
Have I mentioned lately how much Oisin Grehan (a.k.a.: x0n) rocks? He discovered that in PowerShell 2 we can now define our own custom type accelerators. A “Type Accelerator” is the thing that lets you write [regex] instead of [System.Text.RegularExpressions.Regex], and they save a lot of typing, but in order to keep the name space [...]
PoshCode Updated for CTP3
I’ve updated the PoshCode script module to support CTP3, and added a -limit parameter to the Get-PoshCode cmdlet so you can specify how many items you want retrieved in the case where there are a lot of matches for your search terms — by default the limit is 25. Improvements to the underlying web search [...]
PowerShell 2 CTP3 – First Impressions
Changes of particular interest Get-Command returns functions By default Get-Command used to return only apps, scripts in your path, and cmdlets… The new CTP3 default invocation includes functions. This is mostly a recognition of the increased power of functions with the arrival of that advanced function features (formerly known as script cmdlets). Advanced Functions Advanced [...]
PowerShell 2 CTP 3 Released
You want to get either the 32Bit version OR the 64Bit version and the readme/release notes and the help file … and you probably need to update your WinRM as well.
PowerBoots – Shoes for PowerShell
If you haven’t seen the Ruby Shoes graphical framework, you should check it out. In fact, go read the tutorial and come back, because the rest of this will make a lot more sense then. It’s a very slick toolkit, right? Not only that, but it works on Windows, Linux, and Mac OS X … [...]
Still waiting …
EDIT: We found out this evening that it was suppose to ship tomorrow, but isn’t going to anymore because they heard about a (possible) bug and are delaying release to investigate (and fix it). while($true){ $items = Invoke-Http get http://www.microsoft.com/downloads/Results.aspx {freetext="powershell"; nr=50; sortCriteria="date"} | Receive-Http xml "//*[id=‘results’]/table/tr/td/p/a" | where {$_."#text"} [...]
PowerShell For Developers – Presentation
Well, I presented PowerShell to a bunch of developers at the vduny meeting tonight… there were around 15 people there are the beginning, and surprisingly, there were more at the end … Of course, I had enough slides prepared to allow us to skip the “Intro to PowerShell” and still fill the hour and a [...]
Custom IComparers in PowerShell (and Add-Type for v1)
Someone asked the question in #PowerShell (on irc.Freenode.net): How do I find an item (in an array) based on one of it’s properties? Actually, the question was rather more complicated than that. They were importing a bunch of users from a csv file, and wanted to sort them and search them based on a specific [...]
Bit9 “Most Vulnerable Applications” report is fatally flawed
There has been a lot of buzz on Twitter (etc.) about the report issued by Bit9 (as reported without details by NeoWin). The list is topped by Firefox, and the top 10 are all non-Microsoft applications … shocker! Well, if you download the PDF (and read it with Foxit Reader because Adobe Acrobat and Flash [...]
