// archives

How-to

This category contains 88 posts

PowerShell: Extracting certain lines in any file

I had quite a large file that I needed to parse, and the challenge was to extract certain lines that didn’t match a certain condition.  The solution . . . PowerShell, like so: select-string -path filename -notmatch "criteria" | foreach {$_.line} | out-file -filepath filename -encoding ascii That’s it!

Cut-and-paste not working via RDP

Cut-and-paste wasn’t working from me between my RDP session to an XP box from my Windows 7 box.  Apparently, the problem was rdpclip.exe wasn’t running. So, if you come across the same issue, check for that process and turn it on if necessary via Run > type rdpclip.

Using Visual SourceSafe 2005 with Visual Studio 2010

You may notice that when you attempt to add your solution to a source control in Visual Studio 2010, that it only shows a TFS server as a choice. Don’t be alarmed, however, just: 1. Go to Tools > Options. 2. Click Show all settings if not checked, then go to Source Control. 3. Go [...]

How-to: Bypass a WSUS server

As long as you have administrative access on your work computer, all you have to do is change the following key to ‘0’ (from ‘1’): UseWUServer under the following location in the registry: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU Hope this helps someone out there.

How to enable or disable Quick Launch in Windows 7

Just adding this for archival purposes… http://www.sevenforums.com/tutorials/888-quick-launch-enable-disable.html