Etiket arşivi: exchange server 2010 powershell

Appending signature to emails on Exchange Server 2010 with Powershell

With a new feature of Exchange Server 2010, now you can append signature or disclaimer messages to emails. You should create a new Transport rule to do this. Also there is an easy way to do this with Powershell:

New-TransportRule -Name 'Signatures' -Comments 'Signatures for Inside Organization' -Priority '0' -Enabled $true -FromScope 'InOrganization' 
-ApplyHtmlDisclaimerLocation 'Append' -ApplyHtmlDisclaimerText '</br></br>
<div style="font-size:11pt;  font-family: ''Calibri'',sans-serif;">
<div><img alt="yusufozturk"  src=""></br>
</br></div>' -ApplyHtmlDisclaimerFallbackAction 'Wrap'

I used %%displayname%% to add my name.

How to enter Exchange Server 2010 Product Key with Powershell?

If you don’t want to use Exchange Management Console, you can use Powershell:

Set-ExchangeServer -Identity '%Name%' -ProductKey '%ProductKey%'

So simple but important command for me 🙂 You need to restart “Information Store” service.

Autodiscover configuration for Hosted Exchange 2010 on Powershell

You need to create an Autodiscover directory in IIS and configure it. What I do with this script is creating that directory and configuring for redirection.

New-Item "C:\inetpub\Autodiscover_redirect" -type Directory
New-Item "C:\inetpub\Autodiscover_redirect\Autodiscover" -type Directory
New-Item "C:\inetpub\Autodiscover_redirect\Autodiscover\Autodiscover.xml"type File
Import-Module WebAdministration
Remove-WebBinding -Name “Default Web Site” -BindingInformation *:80:
New-ItemProperty IIS:\Sites\”Default Web Site” -name bindings -value @{protocol="http";bindingInformation="*"}
New-Item IIS:\Sites\Autodiscover -bindings (@{protocol="http";bindingInformation="*:80:"}) -PhysicalPath “C:\inetpub\Autodiscover_redirect"
Set-WebConfiguration -filter /system.webServer/httpRedirect -value (@{enabled="True"; destination=""}) -PSPath IIS:\ -location Autodiscover

You won’t get any SSL error on Outlook after changes.

How to enable Outlook Anywhere on Exchange Server 2010 with Powershell?

An easy way to enable Outlook Anywhere on Microsoft Exchange Server 2010 with Powershell:

Enable-OutlookAnywhere –ExternalHostname ‘’ –SSLOffloading $false
-DefaultAuthenticationMethod ‘Basic’

You can set authentication method as Basic or NTLM.