PowerShell V2: CTP3 now available!

Sea Tea Pea Three Whee! Go get it! The bits in the overview I want to call out (because I’ve seen others trip over this) – In Windows PowerShell V2 CTP, the WS-Management-based remoting features work correctly only on Windows Vista with Service Pack 1 (SP1) and on Windows Server 2008. These remoting features will…

1

powershell one-liner to expose some emoticons

While chatting with a co-worker about a bug I had fixed a few weeks back, Communicator unexpectedly (to me) translated (I) into an emoticon for me (I know, I can turn emoticons off). So, time for a quickie one-liner and then paste the resulting text into the IM window to see what the alphabet emoticons…

0

pet peeve: full-screen + multi-monitor

I’m noticing silverlight pick up a behavior from flash that I don’t like: kicking out of full-screen when there’s a click on the other monitor (or other loss of focus from the plugin).  Now, if it’s full-screen and there’s only 1 monitor, then I guess that’s fine.  But in my case, I’m working/clicking on another…

1

powershell script – find orphaned C# files

I ran across a C# file that had been removed from its csproj file, but it hadn’t been deleted from version control.  So I wrote a script (Chris Sidi had already written one, though) to find the .cs files that weren’t in the “containing” .csproj file   param([string]$csproj = $(throw ‘csproj file is required’)) $csproj…

3

macro to "organize usings" for a project

I won’t claim this is efficient, or well-written, or whatever, but it WorksForMe and I figured I’d share.  Feel free to post better versions in the comments or on your own blog and add a link as a comment 🙂 Option Strict Off Option Explicit Off Imports System Imports EnvDTE Imports EnvDTE80 Imports EnvDTE90 Imports…

1

Enterprise Edition

What’s your favorite?   Chris Rathjen‎‎ [9:05 AM]: i take it you want enterprise? ‎‎James Manning‎‎ [9:05 AM]: NCC-1701 *D* please ‎‎Chris Rathjen‎‎ [9:05 AM]: dude the E kicks the D’s ass ‎‎James Manning‎‎ [9:06 AM]: yeah, it does but D has more sentimental value to me ‎‎Chris Rathjen‎‎ [9:06 AM]: true true

1

collection and property initializers are so nice

I happened to change a piece of code over the weekend and used both.  It’s a tiny piece of code, so I thought it would make a good example of just how much readable code is using them. Before: List<Property> p = new List<Property>(1); Property pr = new Property(); pr.Name = “Description”; pr.Value = Description;…

1

Hyper-V has shipped!

http://www.microsoft.com/hyper-v Many people on our team (including myself, of course) have been running pre-RTM bits (the beta that came with Windows Server 2008, RC0, RC1, and their escrow build), and we’ve been extremely happy with it.  It’s light-years ahead of Virtual PC / Virtual Server.  I’ve already consolidated 4 of my previous machines down to…

0