How to: Exchange

Hi this is my easy way to export all mailboxes to PST on the Exchange servers. Step1: We have to give our user permission to EXPORT mailboxes. New-ManagementRoleAssignment -role “Mailbox Import Export” -User OUR_USER Step2: Please create folder where you want to save PST files. Step3: Export user names. Get-mailbox|…

Most of our clients are moving to Office 365. I found out that sometimes is really difficult to remove Public Folders. This is easy way to solve it is use ADSI-Edit. Exchange 2010 Open ADSI-Edit and got to configuration Navigate to this path: CN=Configuration,DC=DOMAIN,DC=LOCAL CN=Services CN=Microsoft Exchange CN=EXCHANGE_ORG CN=Administrative Groups…

This is one of my favorite Powershell scripts. Easy way to show how big are Exchange mailboxes and make your boss happy 🙂 This is the result: Copy and past 🙂 $Report=@() $mailbox=Get-mailbox –resultsize unlimited $mailbox| foreach-object{ $DisplayName=$_.DisplayName $SmtpAddress=$_.PrimarySmtpAddress $TotalItemSize=(get-mailboxstatistics –identity $DisplayName ).TotalITemSize $obj=new-object System.Object $obj|add-member -membertype NoteProperty -name “DisplayName”…