Powershell: Files cannot be loaded because the running of scripts is disabled on this system

Error message when try running powershell scripts:
“files cannot be loaded because the running of scripts is disabled on this system. Please provide a valid certificate with which to sign the files”

Using this command to allow unsigned powershellscripts: “Set-ExecutionPolicy Unrestricted”

Open an elevated Powershell promt, use the command: “Set-ExecutionPolicy Unrestricted”

telnet smtp commands

Here is a mini how to use telnet to send email / or use it to test the smtp server

1. Type telnet [mailserver ip og hostname] [Port]

2. Type helo [your hostname]

3. Type mail from: [a valid email address]

4. Type RCPT TO: [Receive emailaddress]

5. Type DATA

6. Type the message of the email

7. On a new line type .

 

 

 

Force Outlook Autodiscover to use SRV Record

How to force Outlook Autodiscover to only use SRV for autodiscovery

create this batch file and run it:
Outlook 2007:

Outlook 2010: