April 2013 archive

Administering Team Foundation Service (on the web, not on-premise)

If you are using Team Foundation Service (i.e. in the cloud, not our on-premise Team Foundation Server), finding the administration pages from the web site can be a bit tricky if you don’t know where to look. Log into your TFS account.  If you don’t have one, you can sign up at http://tfs.visualstudio.com.  In the upper-right corner …

Continue reading

Measuring How Long Commands Take in Windows

I was considering installing the timeit.exe command on my new laptop, but read that it may not work on the latest versions of Windows.  So, I found an article on StackOverflow that recommended using the Measure-Command command in PowerShell.  You use it as follows, where Get-ChildItem is just listing the current directory as an example command …

Continue reading

Consolidating Hyper-V Differencing Disks into One

I deleted two snapshots from a Hyper-V virtual machine (VM) this morning.  This left the base .vhd file and two .avhd differencing disks.  I decided I wanted to merge them into a single file and learned that the diskpart tool will let you do this. Open an elevated command prompt (i.e. run as administrator). Run …

Continue reading