Windows server 2003/2008 and Exchange 2007 – How to modify database size limit

Posted by Thomas | Posted in Exchange 2007, Powershell, Registry, Windows 2003, Windows 2008 | Posted on 23-06-2009

0

By default Exchange server 2007 Stardart database size limit is 50Gb.

Exchange server 2007 Enterprise edition has no limit for database size.

In this post we will see how to change size for the mailbox database named “FirstDB”.

We will work with Exchange 2007 Standart “TestExchange” running on Windows server 2003.

First we need to retrieve GUID ID for “FirstDB” database, which can be found in FirstSG storage group.

To do it open exchange powershell and type:

Get-MailboxDatabase -Identity “TestExchange\FirstSG\FirstDB” | Format-Table Name, GUID

When you have GUID for your database open registry editor and navigate to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\TestExchange\Private-<database GUID>

If you can see DWORD value Database size limit in GB open it ant type your new limit for database in GB.

If value cannot be located, create new DWORD value with “Database size limit in GB” name and set value in GB.

Windows server 2003/2008 – How to check Exchange 2007 health via powershell

Posted by Mark | Posted in Exchange 2007, Powershell, Windows 2003, Windows 2008 | Posted on 16-06-2009

0

This post will show you how to check basic Exchange server 2007 health using powershell commands.

To check if all required services are running open exchange powershell on you Windows server 2003/2008 and type:

Test-servicehealth

To perform MAPI connectivity check type:

Test-MAPIConnectivity

Windows server 2003/2008 and Exchange 2007 – How to test Outlook 2007 autodiscover

Posted by aidas | Posted in Exchange 2007, Powershell | Posted on 07-05-2009

0

This post will show how to use powershell to verify if autodiscover service is properly configured on your Exchange 2007 server named “TestExchangeServer”. To do it open exchange powershell on your Windows server 2003 and type:

Test-OutlookWebServices -ClientAccessServer “TestExchangeServer”

Windows server 2003/2008 and Exchange 2007 – How to suspend mail queue

Posted by aidas | Posted in Exchange 2007, Powershell | Posted on 07-05-2009

0

This post will show how to suspend mail queue on Exchange 2007 server using powershell. Lets say that one of your mail queue is growing too big. You want to suspend it and investigate cause of this. To suspend queue that has over 500 messages in it open exchange powershell on your Windows server 2003 and type:

Suspend-Queue -Filter {MessageCount -qt 500}

Windows server 2003/2008 and Exchange 2007 – How to remove message from mail queue

Posted by aidas | Posted in Exchange 2007, Powershell | Posted on 07-05-2009

0

This post will show you how to remove specific message from Exchange 2007 mail queue using powershell. Lets say we want to remove message that was send by testuser@testdomain.com. Also we want that no Non Delivery Record (NDR) will be generated. To do it open exchange powershell on your Windows server 2003 and type:

Remove-message -filter {FromAddress -eq “testuser@testdomain.com”} -WithNDR $false

Windows server 2003/2008 and Exchange 2007 – How to view queue via powershell

Posted by aidas | Posted in Exchange 2007, Powershell | Posted on 06-05-2009

0

This post will show you how to view mail queue using powershell on your Exchange 2007 server. To do it open exchange powershell on your Windows server 2003 and type:

Get-queue | format-list

Windows server 2003/2008 and Exchange 2007 – How to disable mailbox via powershell

Posted by aidas | Posted in Exchange 2007, Powershell, Windows 2003, Windows 2008 | Posted on 05-05-2009

0

If you want to disable Exchange 2007 user mailbox this how to is for you. This operation will remove all exchange attributes from active directory user. Lets disable mailbox for user named “testuser”. To do it open exchange powershell on Windows server 2003 and type:

Disable-Mailbox testuser@testdomain.com

Windows server 2003/2008 and Exchange 2007 – How to enable or disable ActiveSync for mailbox user

Posted by aidas | Posted in Exchange 2007, Powershell, Windows 2003, Windows 2008 | Posted on 05-05-2009

0

This post will show you how to enable or disable ActiveSync for mailbox user named testuser using powershell on Windows server 2003.

To enable ActiveSync type:

Set-CASMailbox -Identity testuser@testdomain.com -ActiveSyncEnabled $true

To disable ActiveSync type:

Set-CASMailbox -Identity testuser@testdomain.com -ActiveSyncEnabled $false

Windows server 2003/2008 and Exchange 2007 – How to enable or disable MAPI for mailbox user

Posted by aidas | Posted in Exchange 2007, Powershell, Windows 2003, Windows 2008 | Posted on 05-05-2009

0

This post will show you how to enable or disable MAPI for mailbox user named testuser using powershell on Windows server 2003.

To enable MAPI type:

Set-CASMailbox -Identity testuser@testdomain.com -MAPIEnabled $true

To disable MAPI type:

Set-CASMailbox -Identity testuser@testdomain.com -MAPIEnabled $false

Windows server 2003/2008 and Exchange 2007 – How to enable or disable POP3 for mailbox user

Posted by aidas | Posted in Exchange 2007, Powershell, Windows 2003, Windows 2008 | Posted on 05-05-2009

0

This post will show you how to enable or disable POP3 for mailbox user named testuser using powershell on Windows server 2003.

To enable POP3 type:

Set-CASMailbox -Identity testuser@testdomain.com -POPEnabled $true

To disable POP3 type:

Set-CASMailbox -Identity testuser@testdomain.com -POPEnabled $false

Windows server 2003/2008 and Exchange 2007 – How to enable or disable OWA for mailbox user

Posted by aidas | Posted in Exchange 2007, Powershell, Windows 2003, Windows 2008 | Posted on 05-05-2009

0

This post will show you how to enable or disable Outlook Web Access (OWA) for mailbox user named testuser using powershell on Windows server 2003.

To enable OWA type:

Set-CASMailbox -Identity testuser@testdomain.com -OWAEnabled $true

To disable OWA type:

Set-CASMailbox -Identity testuser@testdomain.com -OWAEnabled $false

Windows server 2003/2008 and Exchange 2007 – How to enable or disable IMAP4 for mailbox user

Posted by aidas | Posted in Exchange 2007, Powershell, Windows 2003, Windows 2008 | Posted on 05-05-2009

0

This post will show you quick way how to enable or disable IMAP4 for mailbox user named testuser using powershell on Windows server 2003.

To enable IMAP4 type:

Set-CASMailbox -Identity testuser@testdomain.com -IMAPEnabled $true

To disable IMAP4 type:

Set-CASMailbox -Identity testuser@testdomain.com -IMAPEnabled $false