-
Recent Posts
Recent Comments
Archives
- September 2010
- August 2009
- April 2009
- March 2009
- January 2009
- October 2008
- January 2008
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- August 2005
- July 2005
- June 2005
- May 2005
- April 2005
- March 2005
- February 2005
- January 2005
- December 2004
- November 2004
- October 2004
- September 2004
- August 2004
Categories
Meta
Category Archives: 142
Slides from my powershell talk
I gave an introduction to Powershell talk at the St. Louis .Net UG meeting on Monday, October 29th to about 70-80 people or so. I introduced basic concepts of powershell, talked about a few problems I had solved with it, … Continue reading
Finding all Attribute types in an assembly through powershell
I was using the new xunit.net testing framework, and I wanted to see a list of all the attributes they had. This looks like a job for Powershell!!! [System.Reflection.Assembly]::LoadFile(“pathToFile.dll”).GetTypes() | where-object { $_ -match “Attribute” } That did the trick! … Continue reading
Posted in 142
2 Comments
Finding installed products with uninstall instructions
I was repaving a machine the other day, and I had to load all my development tools. There were a bunch of them, and when I got finished, I noticed that IIS and SQL Server failed to install properly. So … Continue reading
Posted in 142
9 Comments
Another powershell quickie – removing all bin and obj directories beneath VS.Net projects
gci -recurse -include bin,obj . | ri -recurse I was playing around with how to get this to work, and I couldn’t seem to figure out why these commands didn’t find the same locations to delete: gci -recurse -include bin,obj … Continue reading
find -name foo.\* | xargs grep "find_me"
[Update from Brad Wilson and Scott Dukes] I’ve been wanting a powershell script to replace my favorite unix command for ages, and I took a stab at it today. This got me very close to what I wanted yesterday, which … Continue reading
Posted in 142
11 Comments