• The minimum result size is 1000, so if you have more user then we need to add the switch -resultsize
Get-Mailbox -resultsize unlimited | select name,database | export-csv "c:\mailboxperdatabase2.csv"
Tagged with:  

How to uninstall Exchange 2010

On 20 January 2014, in Exchange 2010, IT Procedure, Servers, by Himselff
  • En powershell vous devez retirer les “Arbitration Mailbox” par la commande suivante :

get-mailbox -database 'Your Mailbox Database' -arbitration | remove-mailbox -arbitration -removelastarbitrationmailboxallowed

  • Toujours en powershell vous devez retirer les boites normales égallement avec la commande suivante : (Si vous possédez un autre serveur exchange dans l’organisation vous pouvez aussi faire des move-mailbox)

get-mailbox -database 'Your Mailbox Database' | remove-mailbox

Note : vous ne pouvez supprimer votre propre mailbox, vous devez soit la déplacer ou la désactiver !

  • Pour poursuivre la désinstallation , il faut retirer les connecteurs :
Remove-RoutingGroupConnector -Identity"[[Administrative Group Name\]Routing Group Name]\Routing Group Connector Name"

Tagged with:  
Tagged with:  
  • Open Powershell in admin mode
  • Type the command : “Import-Module ServerManager”

  • Under Windows 2008R2
    • Type the following command to install the prerequist : “Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,Web-Asp-Net,Web-Client-Auth,Web-Dir-Browsing,Web-Http-Errors,Web-Http-Logging,Web-Http-Redirect,Web-Http-Tracing,Web-ISAPI-Filter,Web-Request-Monitor,Web-Static-Content,Web-WMI,RPC-Over-HTTP-Proxy,Desktop-Experience -Restart”
  • Under Windows 2012
    • Type the following commande first : “Install-WindowsFeature NET-Framework-Core,PowerShell-V2″
    • Then to install the remaining : “Install-WindowsFeature Telnet-Client,RSAT-ADDS, RSAT-Clustering,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Request-Monitor,Web-Static-Content,Web-Mgmt-Console,Web-Lgcy-Mgmt-Console,Web-WMI,WAS-Process-Model,Web-Asp-Net,Web-Client-Auth,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Http-Errors,Web-Http-Logging,Web-Http-Redirect,Web-Http-Tracing,Web-Digest-Auth,Web-Dir-Browsing,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy,Desktop-Experience –Restart”

  • The server will reboot once installation are complete
  • Change the service “Net. TCP Port Sharing” startup in automatic mode

  • Install “Filter pack for Office 2010” on the server, available here : http://www.microsoft.com/download/en/details.aspx?id=
  • If you wich to install a DAG you must add the Windows Server Feature “Failover Clustering” withtout any configuration, wich will force Exchange to register it’s DLL in cluster mode, under Windows 2008 we need at least version “Entreprise”, under Windows 2012 the feature is available in the Standard version since the Enterprise version has been discontinued.
Tagged with: