Geek Noise
Rants, rambles, news and notes by Peter Provost
10

Why I Love Monad Reason #249

Monday, 10 April 2006 08:37 by Peter Provost

I love being able to quickly bust out little scripts like this…

[1] MSH> gci -r -i *.csproj | foreach { $xml = [xml] (get-content $_); write-host $_.Name - $xml.Project.PropertyGroup[0].ProjectGuid }

And have it produce this output…

Common.csproj - {028E519B-1B04-4D62-A96C-44C3493C4D5A}
GreeterModule.csproj - {9308450E-0564-4B01-BC1B-9B327C4E1ECF}
Shell.csproj - {A0DB510A-B00B-464F-A904-CC11A20E0E8A}

Cool, eh?

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:  
Categories:   Technology
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed
Comments are closed