Using Script Functions in the PowerShell Pipeline ( Take Two )
One of the consistent questions about PowerShell is: what’s the best way to write a script or a function to process pipeline objects and be able to take it’s parameters as a normal function? Of scripts and functions The first thing to know is that in PowerShell, there’s really no difference between a script (just [...]
A guide to PowerShell’s Advanced Functions
Someone asked on the PowerShell Newsgroup about writing Advanced Functions, and specifically: looking for a … guide to putting together an advanced function that is visible and usable every time I start Powershell. By visible I mean that when I do a ‘get-command’ I want my [advanced function]s to be listed alongside all the regular [...]
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 [...]