How to get the computer name on Windows 7 or 8 without logging in

You will notice with Windows 7 and 8 you no longer get the computer name drop down.  However, you can still find the computer name by simply typing in . for the username and hitting tab.  The computer name will be displayed under the password field.