Saturday 25 December 2021

How to export office 365 mailbox in PST format

 Go to 

Content search - Microsoft 365 compliance

Then Content Search-->on Search--> Start Search with .+New Search--->Enter Name and description--->next-->select Location--it may be Exchange (You can include here the mailbox you want to search )/SharePoint sites/Exchange Public Folder--->Next-->can apply different conditions here, like sender/date/recipients etc...--->Next----> Review the search---click on submit

now you can monitor the status of Search in the Search tab, it may be in starting/completed etc. status.

and once completed, click on it and at the bottom click on Action and select Export result.

Now go to Export tab and here you will see your search name as the nameofSearch_Export.

Another window will open and here in the mid of the window, will see the status as preparing data/completed etc. and may wait for the status to be completed or you can start the download. To start The download, from the top of the window click on download result.

A small window of eDiscovery export tool will open, asking for Export key and location on your system where you want to save the result.

in the eDiscovery tool you can monitor the status of the download and once completed you may have a folder at the downloaded locations like (D:\Nawaz\SearchName_Export\12.25.2021-1659PM\Exchange) 

here you will find your pst file/files.


 



Friday 17 December 2021

To Add another email address to a mailbox in office 365

 To Add another email address to a mailbox in office 365, you would be unable to do some from office 365/Exchange online in Exchange hybrid environment.

You have to run the following command from on premise exchange server. and then run the directorysync from directory  sync server/tool.


Set-remoteMailbox -Identity "Nawaz.Q2" -EmailAddresses@{add="nawaz.q2@ptcl4.onmicrosoft.com"}

Wednesday 1 December 2021

How much emails received by each user in last one month in exchange server 2016

 To find How much emails received by each user in last one month in exchange server 2016

Get-TransportServer | Get-MessageTrackingLog -ResultSize unlimited -Start "10/23/2021 09:00:00" -End "11/23/2021 09:10:00" | where{$_.Recipients -like "*@mydomain.com"} | Group-Object -Property Sender | Select-Object name,count | sort count -desc | ft -auto >c:\path\EmailCountRecipt.csv