Rob

Author's posts

Combining Files in PowerShell

If you need to combine text files in cmd.exe, you would issue the following command:

If you wish to do the same for binary files, you would use the following command:

To do the same in PowerShell is pretty straightforward.  If the destination file does not already exist or already contains content, you’ll …

Continue reading

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:

I was finally able to map the folder by first deleting the local workspace as the logged in user:

Note that the “owner” was …

Continue reading

TFS Quick Tip: Cloaking

In the Source Control Explorer in Visual Studio (VS) 2010 or VS 2012, you can cloak any folder in the source tree that you want to recursively exclude from “Get Latest Version” operations.  Just right-click on the folder, select “Advanced” and “Cloak…”.  VS 2010/2012 will even delete all the local files and folders for those …

Continue reading

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 …

Continue reading

Setting the Title of the Command Prompt Window

PowerShell Prompt

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:

and press Enter to change the title of your Command Prompt window.  It should look like the following: Note that if you are …

Continue reading

Load more