Tag Archives: tips

Installing the Telnet Client on Windows 2008 using a Command Prompt

Like Windows 7 and Windows Vista, the Telnet client isn’t installed by default.

In Windows Server 2008, you can install it via the Server Manager GUI tool, but it is often quicker to install it via a command prompt/terminal.

So, open a cmd.exe session and run the following:

servermanagercmd -install telnet-client

And that’s it – once the command has completed, telnet.exe will be available from a command prompt.

Using grep to Exclude Lines Containing Certain Characters/Text

I like to watch Apache log files using tail -f but they often get filled up with data I don’t want/need to see – like, when I access the web site.

grep is a great tool to search for certain information in text files – but it can also exclude certain pieces of information which can be equally as useful.

So, for example, if I want to watch a log file using tail -f, but exclude any information relating to the IP address “192.168.1.101” then we can use the grep -v switch:

tail -f access.log | grep -v "192.168.1.101"

What this will do is show everything, apart from a line with that IP address in.

Of course, this works with any other command with text being piped into grep:

cat file.txt | grep -v "heh"

This would output the contents of file.txt but remove any lines with “heh” in them.

You can find out more about the various grep options in it’s man page (man grep from the command line)

What is Aero Glass Remoting? Terminal Server Aero Glass? (Windows Server 2008 R2)

What is Aero Glass Remoting?

Can I use Aero Glass on a remote Terminal Services/Remote Desktop session?

Well, with Windows Server 2008 R2, Yes you can!

It’s basically replicating the user experience you get locally of Aero Glass, on remote sessions.  It may be useful for task switching etc. Check the guide out below:

http://blogs.msdn.com/rds/archive/2009/06/23/aero-glass-remoting-in-windows-server-2008-r2.aspx