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…

0

Combining Files in PowerShell

If you need to combine text files in cmd.exe, you would issue the following command: copy file1.txt+file2.txt+file3.txt combined_files.txt If you wish to do the same for binary files, you would use the following command: copy /b file1.bin+file2.bin+file3.bin combined_files.bin To do the same in PowerShell is pretty straightforward.  If the destination file does not already exist…

4

Solved: The working folder is already in use by the workspace

When trying to map a local folder to a TFS server as a different user than the one under which I was logged in, I kept getting the message: The working folder [source path] is already in use by the workspace [workspace name];[owner] on computer [tfs server]. I was finally able to map the folder by…

15

TFS Quick Tip: Cloaking

In the Source Control Explorer in VS2010 or VS2012, you can cloak any folder in the source tree that want to recursively excluded from “Get Latest Version” operations.  Just right-click on the folder, select “Advanced” and “Cloak…”.  VS2010/2012 will even delete all the local files and folders for those that are checked in; this means you…

3

Hyper-V Client Problem Due to Time/Date Difference

I ran into a problem yesterday where I couldn’t use the Remote Desktop client in Windows 8 to connect to a client-side Hyper-V guest.  I got the following error: Remote Desktop cannot verify the identity of the remote computer because there is a time or date difference between your computer and the remote computer.  Make…

2

Setting the Title of the Command Prompt Window

I was wondering how you change the title of the Command Prompt window.  A little searching found that Scott Hanselman had answered this question here.  All you have to do is type “title <your text>” and press Enter to change the title of your Command Prompt window.  It should look like the following: Note that…

7

EventVwr Command-Line Parameters in Windows 8

Update: I’m told that this command-line option works in Windows 7, as well.  So it’s not a change for Windows 8/2012.  I just didn’t have a Windows 7 machine handy to test it. The command-line parameters for the Event Viewer have changed in Windows 8 (and Windows Server 2012, I assume).  To launch Event Viewer…

0

Afraid of PowerShell? Watch this video now.

I have been working more and more with PowerShell lately and I love it.  If you want to watch a great introductory 75 minute video to get up to speed quickly, look no further than here: Windows PowerShell Crash Coursehttps://channel9.msdn.com/Events/TechEd/NorthAmerica/2012/WSV321 It is presented by Don Jones and Jeffrey Snover.  They share a number of great…

0

Windows 8 / Server 2012 Tip of the Day: Logging Off (and Switching User)

I don’t know why, but I keep forgetting how to log off of Windows 8 / Server 2012 systems.  To do so, go to the Start “screen”, click on your user account picture/name in the upper-right hand corner of the screen, and select “Sign out”.  Or you can ‬select “Switch User” from here. Rob

103

Deleting Windows Services that won’t uninstall

I created a Windows Service installer using WiX and included a custom action that called PowerShell to run a script.  Unfortunately, I called the script with the wrong parameters and then the service would not uninstall.  So, I tried a lot of different tricks and finally found a recommendation on the web to run the…

4