-
Recent Posts
Recent Comments
Archives
- May 2013
- April 2013
- January 2013
- September 2012
- July 2012
- April 2012
- March 2012
- January 2012
- December 2011
- October 2011
- September 2011
- March 2011
- September 2010
- July 2010
- May 2010
- January 2010
- December 2009
- October 2009
- September 2009
- August 2009
- July 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- June 2007
- May 2007
- March 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- September 2005
- August 2005
- June 2005
- March 2005
- January 2005
- December 2004
Categories
Meta
Monthly Archives: May 2008
Poor Man’s File/Directory Name Indexer Using Windows PowerShell
The following is a script that I have set up on my dev PCs to run nightly via a scheduled task: ## CatalogFileSystem.ps1param([string[]]$paths)Set-PSDebug -Strict function Main { foreach ($path in $Paths) { if (!(Test-Path $path -PathType Container)) { Write-Error "’$path’ … Continue reading
Posted in PowerShell
1 Comment
Northern Colorado .NET User Group Windows PowerShell Presentation
Tonight I gave a one hour introductory talk on Windows PowerShell to my local .NET user group. The primary focus of this talk was to show how PowerShell should be interesting to .NET developers. As promised, here is the slide … Continue reading
Posted in PowerShell
Leave a comment
Effective PowerShell Item 13: Comparing Arrays in Windows PowerShell
PowerShell has a lot of useful operators such as -contains which tests if an array contains an particular element. But as far as I can tell PowerShell doesn’t "seem" to provide an easy way to test if two array’s contents … Continue reading
Posted in Effective PowerShell
6 Comments
Effective PowerShell Item 12: Understanding ByValue Pipeline Bound Parameters
In item 11, I covered ByPropertyName pipeline bound parameters. In this post, I’ll cover the other variety of pipeline binding – ByValue. ByValue binding takes the input object itself and attempts to bind it by type using type coercion if … Continue reading
Posted in Effective PowerShell
2 Comments
Windows PowerShell V2 CTP2 Is Available
The PowerShell team just posted the announcement late last night. There is a download link in the announcement. This drop has lots of new features like Module support for organizing and loading related functionality as well as transaction support for … Continue reading
Posted in PowerShell
3 Comments