Deploying Files for VS2012 Unit Tests

Are you wondering how to best deploy files for your Visual Studio 2012 Unit Tests because the technique changed from the way you did so in Visual Studio 2010?  Check out this MSDN article for all the details:

http://msdn.microsoft.com/en-us/library/ms182475(v=vs.110).aspx

Rob

This post was migrated from https://blogs.msdn.microsoft.com/rob/2013/02/13/deploying-files-for-vs2012-unit-tests/.

Query Your BitLocker ID and Password

I could not boot my laptop today because I was prompted for my BitLocker Recovery Key and did not have the associated .txt or .bek files.  So, fortunately, I was able to call our help desk and have them provide me with the password.  I could then boot my system,  Whew!

Once I was back in Windows, I wanted to display the BitLocker ID and password for my boot drive.  To do so, I launched an elevated command prompt and issued the following command:

This then displayed “All Key Protectors”, including the ID (which is just a GUID) and the password necessary to unlock the drive in the future.  Note that the password is the same value that the help desk gave me.

I am posting this to remind myself of how to get this information in the future.  I hope it helps someone else, too.

Rob

This post was migrated from https://blogs.msdn.microsoft.com/rob/2013/02/10/query-your-bitlocker-id-and-password/.

Text Encoding Options for NLog

I’ve been using NLog for a while now and recently decided I wanted to have some of my log files written as Unicode text.  I learned that you can specify this in your <target> sections of NLog.config as follows:

Note that I only tested two different encodings, “Unicode” and “UTF-8”.  Also, “UTF-8” must have the hyphen in it to work.

Rob

This post was migrated from https://blogs.msdn.microsoft.com/rob/2013/01/05/text-encoding-options-for-nlog/.

The site is back online

After a problem with the web site about six months ago, I have recreated the Tardis Technologies blog.  Unfortunately, the WordPress database format changed a little bit, so I need to do some work to get it back in a format for posting.  The first post is back online.  I hope to get the rest of the old content online soon.

Rob

Migrating a Storage Pool from Windows Server 8 Beta to Windows Server 2012 RTM

I had a computer running Windows Server 8 Beta with a Storage Pool using the “Parity” resiliency type.  I installed Windows Server 2012 RTM “over it” (i.e. not an upgrade) and completely lost access to this Storage Pool when the  RTM install completed.  So, using a number of MSDN resources and PowerShell commands, I got the Storage Pool back using the following steps:

    1. Reinstalled Windows Server 8 Beta (Build 8250).
    2. Opened PowerShell as Administrator (i.e. elevated).
    3. Executed the following command:
    4. This showed that I had two Storage Pools available.
    1. The one named “RAID” is the one that I wanted to mount.
    2. I found instructions suggesting that I make it read/write, so I executed the following command:
    3. Executing Get-StoragePool again displayed the following:
    1. Storage Pools are mounted as Virtual Disks and need to be referenced by a Virtual Disk Friendly Name, not a Storage Pool Friendly Name.  To determine which Virtual Disks were available for mounting and their Friendly Names, I issued the following command:
    2. This showed the Virtual Disk’s name to be “RAID5”:
  1. Then I issued the following command to mount the Virtual Disk:
  2. At this point, the disk appeared in “Disk Management” (diskmgmt.msc), but it was offline.
  3. I right-clicked on the area labeled “Disk 6, Basic, … , Offline” and selected “Online”.  Then the drive was mounted to the first available drive letter:
    Disk Management 
  4. Then I went into the D: drive, copied all of the files to another partition, and reinstalled Windows Server 2012 RTM where I could create a new, RTM-compatible Storage Space and copy the data back to it.

Rob

This post was migrated from https://blogs.msdn.microsoft.com/rob/2012/12/18/migrating-a-storage-pool-from-windows-server-8-beta-to-windows-server-2012-rtm/.

Load more