Archive for the ‘MS Exchange server’ Category

Create new autodiscover virtual directory

Saturday, January 12th, 2008

New-AutoDiscoverVirtualDirectory -websitename “SITE-NAME” -WindowsAuthentication $true -DigestAuthentication $false -BasicAuthenticvation $true

View all public folders recursively using Powershell in Exchange 2007

Saturday, January 12th, 2008

get-PublicFolder \ -recur

SenderID configuration using Powershell in Exchange 2007

Saturday, January 12th, 2008

Set-SenderIDConfig -Enabled $true
Set-SenderIDConfig -SpoofedDomainAction StampStatus | Reject | Delete
Set-SenderIDConfig -TempErrorAction StampStatus | Reject | Delete

Check Activesync policy settings using Powershell in Exchange 2007

Saturday, January 12th, 2008

Get-ActiveSyncMailboxPolicy -Identity “POLICYNAME”

Activesync policy to allow phone to be locked immediatly using Powershell in Exchange 2007

Saturday, January 12th, 2008

Set-ActiveSyncMailboxPolicy -identity “POLICYNAME” -MaxInactivityTimeDeviceLock:00:00:00

This script allows you to use instant “lock” on your phone…

Update safelist using Powershell in Exchange 2007

Saturday, January 12th, 2008

get-mailbox -ResultSize Unlimited | where {$_.RecipientType -eq [Microsoft.Exchange.Data.Directory.Recipient.RecipientType]::UserMailbox } | update-safelist

Public folder configuration using Powershell in Exchange 2007

Saturday, January 12th, 2008

Set Public folder primary SMTP address:
Set-MailPublicFolder -Identity PublicFolder@contoso.com -PrimarySmtpAddress info@contoso.com

Set Public folder permissions
Add-PublicFolderClientPermission -Identity “\public@folder.com” -User Username -AccessRights Editor

Add IP Blocklist provider using Powershell in Exchange 2007

Saturday, January 12th, 2008

Add-IPBlockListProvider -Name zen.spamhaus.org -LookupDomain zen.spamhaus.org -AnyMatch $True -Enabled $True -RejectionResponse “Your IP is blacklisted! http://www.spamhaus.org

This script adds new provider called zen.spamhaus.org, makes lookups to zen.spamhaus.org and it works on any reply (127.0.0.1,2 …), it does enable this provider and it sets response that is sent to sender.

Exchange 2007 increase max recieve message size

Friday, January 4th, 2008

Two Powershell cmdlets…

get-receiveconnector | select identity,maxmessagesize

set-receiveconnector “Connector Name” -maxmessagesize 30MB

Exchange 2007 certificates issues…

Friday, January 4th, 2008

http://technet.microsoft.com/en-us/library/bb125165.aspx - How to prepare certificate request
http://technet.microsoft.com/en-us/library/aa995942.aspx - How to create certificate for mutiple hosts and how to configure certificate for specific service in Exchange 2007
http://technet.microsoft.com/en-us/library/bb201700.aspx - Modifying Outlook web access on Exchange 2007

It is possible that dedicated servers come in a cheap web hosting deal. However you might need to make certain compromises where the web design or the domain name registration is concerned.