Rants, rambles, news and notes from another geek

Why I Love Monad Reason #249

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?