Monday, April 29, 2013
Exchange backpressure fix:
Modify the edgetransport.exe.config file
c:\program files\microsoft\exchange server\bin (Exchange 2007) or c:\program files\microsoft\exchange server\v14\bin (Exchange 2010)
Search for and change the "EnableResourceMonitoring" from “True” to "False", save and close the file, then restart the Microsoft Exchange Transport Service.
Monday, April 15, 2013
EZ exchange 2007 cert for SBS
First make sure web enrollment role is installed. It will require a reboot if it is not.
Navigate to https://localhost/certsrv and click past the warning, if you get the funky this site doesn't exist message you need to open IIS and stop the SBS Web Applications site and restart the default site. That should allow the site to open. From there we need to create the new cert request in powershell. The easiest way is to go to: https://www.digicert.com/easy-csr/exchange2007.htm and enter your cert information. The common name is mail or remote and your domain name. Other names should be autodiscover.domain.com, autodiscover.internaldomain, servername.interndomain. Enter those into the neat boxes and copy the newly created script.
Paste the script into exchange powershell, from there it will kick out the request to the c: drive. Open the request in notepad, and open the cert enrollment webpage. Your going to submit an advanced request, in the second screen select the second option, this is the base 64-bit request.
Once you do the request make sure you select web server as the cert type.
You will then download the cert.
Back in powershell run: Import-ExchangeCertificate -Path c:\cert.cer or whatever you saved the file as.
It will kick out the thumbprint, you will need that in the next step.
Run: Enable-ExchangeCertificate -Services "SMTP,POP,IMAP,IIS"
It will ask for the thumbprint, copy and paste this. Select A for all and your done!
Friday, April 12, 2013
Find mailbox size for exchange 2010
Get-MailboxStatistics -Database "Mailbox Database xxxx" | Select DisplayName, ItemCount, TotalItemSize | Sort-Object TotalItemSize -Descending | Export-CSV C:\MBSizes.csv
Thursday, April 4, 2013
Export email from exchange 2010
Grant a user rights to perform a mailbox export, by default no one has this:
New-ManagementRoleAssignment –Role "Mailbox Import Export" –User Administrator
Create a network share to dump the exported mail to. This must be a network share as the command requires the file to be dumped to a unc.
Command to export mail:
New-MailboxExportRequest -Mailbox mailbox -FilePath \\server\share\file.pst
View progress:
Get-MailboxExportRequest
Once it is complete you need to clear the request:
Get-MailboxExportRequest | where {$_.status -eq "Completed"}
Tuesday, April 2, 2013
Tool to query AD
Numerous built in queries for cmoputers, contacts, users and groups. Download the free version or buy the version with more features:
http://www.cjwdev.co.uk/Software/ADReportingTool/Info.html
Free version lets you export to csv.
Edit host file via command line
echo 0.0.0.0 websitename.com >> %SYSTEMDRIVE%\Windows\System32\Drivers\Etc\Hosts
Subscribe to:
Posts (Atom)