Sending a email using telnet

September 16, 2010
  1. Find the server you want to send to

    Nslookup –q=mx <domain>

  2. Connect

Telnet <ip address of server you want to connect to> 25

Helo <hostname>

  1. Set the from field

    Mail from:<email address>

  2. Set where you want to send the email to

    Rcpt to:<email address>

  3. Create the message body

    data

    1. Press enter after the data
    2. If you want the email to have a subject then on the very first line after data type in Subject:<and the subject of your choice>
  4. End the email off with 2 enter’s and a full stop and then enter again.

Happy testing


IIS Powershell module in windows 7

April 30, 2010

A very cool post on how to setup windows 7 so you can get to the iis module easily in powershell

 

http://blogs.iis.net/sergeia/archive/2009/06/16/how-to-automate-windows-7-powershell-start-up-with-iis-module.aspx

Run this in powershell:

set-executionpolicy remotesigned

 

Create a shortcut where you want this:

Target: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command “import-module webadministration | out-null”

Start in:C:\Windows\system32\WindowsPowerShell\v1.0

Click on advance, and set to run as Administrator (you need the Admin context for doing IIS stuff)


Enabling, and checking if full text search works on SQL 2005 or SQL 2008

May 12, 2009

image

image

image

To verify full text catalog

Exec SP_help_fulltext_catalogs ‘TableName’

The status codes is the following:

Full-text index population status of the catalog:

0 = Idle

1 = Full population in progress

2 = Paused

3 = Throttled

4 = Recovering

5 = Shutdown

6 = Incremental population in progress

7 = Building index

8 = Disk is full. Paused

9 = Change tracking

NULL = User does not have VIEW permission on the full-text catalog, or database is not full-text enabled, or full-text component not installed.


Follow

Get every new post delivered to your Inbox.