Hüseyin Göksin Blog

Bilgi paylaştıkça çoğalır….

Exchange attach size list.

get-transportconfig | ft maxsendsize, maxreceivesize 
get-receiveconnector | ft name, maxmessagesize 
get-sendconnector | ft name, maxmessagesize 
get-mailbox Administrator |ft Name, Maxsendsize, maxreceivesize
Reklamlar

Filed under: Exchange 2007, Exchange 2010, Uncategorized

Exchange Shell Contact Change

Set-MailContact -Identity "John Peoples" -ExternalEmailAddress "john@contoso.com"

Filed under: Exchange 2007, Exchange 2010

exchange 2010 EMC Failed Initialization (Gathering for Exchange Failing with WSMAN Error)

Registrye girilir.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\WinHttpSettings

–>Delete WinHttpSettings

bu komut silinerek sorun giderilir.

göksin

Filed under: Exchange 2007, Exchange 2010

Exchange 2010 sertifika yükleme sorunu (proxy var ise)

netsh winhttp set proxy proxy-server=”http=192.168.205.200:8080;https=192.168.205.200:8443″ bypass-list= “*.domain.com”

Filed under: Exchange 2007, Exchange 2010

Exchange Qmail Klasörü Taşımak.

controlled by the QueueDatabasePath and QueueDatabaseLoggingPath parameters in the EdgeTransport.exe.config application configuration file. This file is located in the C:\Program Files\Microsoft\Exchange Server\V14\Bin directory. To change the location of the queue database and queue database transaction logs, simple open this file in Notepad and locate the following values under <appSettings>

<add key=”QueueDatabasePath” value=”<LocalPath>” />

<add key=”QueueDatabaseLoggingPath” value=”<LocalPath>” />excas19

Filed under: Exchange 2007, Exchange 2010

Exchange 2003 kaldırırken yaşanan mailbox var hatası için yapılacak işlem.

  • Start run
  • Dsa.msc
  • Right-click the domain container, and then click Find ( or click on the find icon on top left)
  • Select the Advanced tab
  • Select User from the Field button
  • From the list of attributes displayed, choose Exchange Home Server
  • Set the Condition field to Ends With
  • Enter the Exchange server name into the Value field ( server you are trying to get rid of)
  • Click Add
  • Click the Find
  • Make a right Click and Delete all those found in the search
  • Go back and kick of uninstall process one more time

Filed under: Exchange 2003, Exchange 2007, Exchange 2010

Exchange 2010 kurulumda veya servis pack kurulumunda sürekli restart istiyor.

Exchange 2010 kurulumda veya servis pack kurulumunda sürekli restart istiyor.


 

A Restart from a Previous Installation is Pending

Exchange 2013

16 out of 29 rated this helpful – Rate this topic

[This topic is intended to address a specific issue called out by the Exchange Server Analyzer Tool. You should apply it only to systems that have had the Exchange Server Analyzer Tool run against them and are experiencing that specific issue. The Exchange Server Analyzer Tool, available as a free download, remotely collects configuration data from each server in the topology and automatically analyzes the data. The resulting report details important configuration issues, potential problems, and nondefault product settings. By following these recommendations, you can achieve better performance, scalability, reliability, and uptime. For more information about the tool or to download the latest versions, see “Microsoft Exchange Analyzers” at http://go.microsoft.com/fwlink/?linkid=34707.]

Topic Last Modified: 2008-01-16

Microsoft Exchange Server setup cannot continue because a restart from a previous installation or update is pending.

The Exchange Server Analyzer reads the following registry key to determine whether a system restart is required after installation or removal of a software update such as a security update, critical update, or hotfix.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\UpdateExeVolatile

The Exchange Analyzer also checks the following registry key to determine whether a previous software update installation was not completed and the system must be restarted to finish the installation.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations

The Exchange Analyzer displays an error message if one of the following conditions is true:.

  • The value of the UpdateExeVolatile registry key is anything other than 0.
  • The PendingFileRenameOperations registry key has any value.

This error indicates that a restart from a previous install or update is pending and the system must be restarted before Exchange Setup can continue.

To resolve this issue, restart the system and then run Exchange setup again.

If the Exchange Analyzer is still reporting this error after a system restart, the registry keys may contain orphaned values that must be removed. Possible values for these keys are listed below.

Value of UpdateExeVolatile Value of PendingFileRenameOperations Results
3 Not Applicable Both a software update installation and a software update removal are awaiting a system restart. If the incomplete update is a security update, then the system may be at risk until it is restarted.
2 Not Applicable A software update installation is awaiting a system restart. If the incomplete update is a security update, then the system may be at risk until it is restarted.
1 Not Applicable A software update removal is awaiting a system restart. If the incomplete update is a security update, then the system may be at risk until it is restarted.
0 or missing Not Applicable A system restart is currently not required.
Greater than 3 Not Applicable An invalid value was returned for the setting used to determine whether a system restart is required after a software update installation.
0 or missing Exists and contains value A previous software update installation was not completed. The system must be restarted to finish the installation. If the incomplete installation was a security update, then the system may be at risk until it is restarted.

 

Important:
This article contains information about editing the registry. Before you edit the registry, make sure that you understand how to restore the registry if a problem occurs. For information about how to restore the registry, view the “Restore the Registry” Help topic in Regedit.exe or Regedt32.exe.

To remove an orphaned UpdateExeVolatile registry key value

  1. Open a registry editor, such as Regedit.exe or Regedt32.exe.
  2. Navigate to HKLM\SOFTWARE\Microsoft\Updates\
  3. In the right navigation pane, double-click the UpdateExeVolatile key.
  4. Configure the key with a value of 0
  5. Close Registry Editor.

To delete the orphaned PendingFileRenameOperations registry key

  1. Open a registry editor, such as Regedit.exe or Regedt32.exe.
  2. Navigate to HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\
  3. In the right navigation pane, right-click the PendingFileRenameOperations key and select Delete.
  4. Close Registry Editor.

 

 

 

 

Filed under: Exchange 2007, Exchange 2010

Exchange 2007 – Uninstall Error – Public Folder Database

Exchange 2007 – Uninstall Error – Public Folder Database

Problem

While trying to uninstall Exchange 2007 you see the following error.”Uninstall cannot continue: Database ‘Public Folder Database’: The public folder database “server name\storage group\database” contains folder replicas. Before deleting the public folder database remove the folders or remove the replicas to another public folder database.”

WARNINIG: The following procedure assumes you want the Public Folders GONE – make sure any information you require within them is either backed up or moved to another server.

Solution

1. Click Start > All Programs > Microsoft Exchange Server 2007 > Exchange Management Shell.2. Issue the following command, (Replace {name of server} with your own server name).

Get-PublicFolder
-Server {name of server} “\” -Recurse -ResultSize:Unlimited |
Remove-PublicFolder -Server {name of server} -Recurse
-ErrorAction:SilentlyContinue3. Enter Y for yes if Prompted. (enter your own server name).

4. Issue the following command, (Replace {name of server} with your own server name).

Get-PublicFolder
-Server {name of server} “\Non_Ipm_Subtree” -Recurse
-ResultSize:Unlimited | Remove-PublicFolder -Server {name of server}
-Recurse -ErrorAction:SilentlyContinue

5. Enter Y for Yes if prompted.

6. Re-attempt the uninstall.

or in EXTREME situations (sometimes it refuses to delete no matter what you do) run ADSIedit and remove it from CN=Configuration,CN=Services, CN=Microsoft Exchange, CN={organisation name i.e First Organisation}, CN=Administrative Groups, CN={Administrative Group name}, CN=Servers, CN={servername}, CN=Information Store, CN={Storage Group Name}, CN={Public Folder Database Name} THEN REBOOT

Filed under: Exchange 2007

Exchange 2010 Owa Logoff süresi uzatma

set-ItemProperty ‘HKLM:\SYSTEM\CurrentControlSet\Services\MSExchange OWA’ -name PrivateTimeout –value 25 -type dword

Filed under: Exchange 2007, Exchange 2010

Exchange Mailbox Listeleme Hazır Kodlar…

Mailboxı boyuta göre listeler ve en son giriş tarihini sona ekler.

 

Get-Mailbox -ResultSize Unlimited | Get-MailboxStatistics | Sort-Object TotalItemSize -Descending | Select-Obje

ct DisplayName,TotalItemSize,LastLogonTime -First 1000 | Convertto-Html | out-File AcikHesaplar.htm

—————

Get-Mailbox                                     Tüm Mailboxları listeler

Get-MailboxDatabase                  Ana Db leri listeler

Get-Mailbox -database xxxx | Get-MailboxStatistics | Sort-Object TotalItemSize -descending |

Select-Object DisplayName,ItemCount,@{name=”MailboxSize”;exp={$_.totalitemsize}} -first 200 | Convertto-Html | out-File

report.htm                                        Html formatında mailbox listesi verir.

Get-MailboxStatistics | fl            administrator   Mailbox’ın tüm bilgilerini verir.Database

 

Get-Mailbox -ResultSize Unlimited | Get-MailboxStatistics | Sort-Object TotalItemSize -Descending | Select-Object DisplayName,TotalItemSize -First 30

Filed under: Exchange 2007, Exchange 2010