someITGuy
asked on
Need to get a list of Exchange users & connceted mailboxes
How would I dump a list from Exchange of users & any connected mailboxes they might have?
CSV format is fine.
TIA
CSV format is fine.
TIA
Which version of Exchange?
For 2010/2013, try:
For 2010/2013, try:
Get-MailboxServer -Identity [server] | Get-MailboxStatistics | Select-Object Servername, Databasename, DisplayName, @{expression={$_.TotalItemSize.Value.ToMB()}},StorageLimitStatus,LastLogonTime, LastLoggedOnUserAccount,ItemCount, DeletedItemCount | Export-Csv C:\ExchangeUserStats.csv
Change [server] with the hostname of the mailbox server you wish to query.
Or you could download PowerGUI and install Exchange plug-ins. Then you could get mostl common reports without knowing PowerShell.
You can delete the Calendar Contents via the Powershell. Please use below cmdlet and url.
Search-Mailbox –identity username –SearchQuery kind:meetings –DeleteContent
http://howexchangeworks.com/2012/11/delete-all-calendar-entries-in-an-exchange-2010-mailbox.html
Regards
Search-Mailbox –identity username –SearchQuery kind:meetings –DeleteContent
http://howexchangeworks.com/2012/11/delete-all-calendar-entries-in-an-exchange-2010-mailbox.html
Regards
If I understand correctly you are asking list of exchange mailboxes to csv format
1. Get-Mailbox -resultsize unlimited | Select Alias, Server, Database | Export-Csv dump.csv
2. By any connected mailbox I think u r asking any mailbox the have permission on, use below:
You can configure auditing in see event log for mailbox access logs.
set-EventLogLevel "mailbox server name"\MSExchangeIS\9000 Private\Send As -level low
http://social.technet.microsoft.com/Forums/en-US/exchangesvradmin/thread/9d2f4b24-ae17-49b4-a43b-88f7ced07840/
1. Get-Mailbox -resultsize unlimited | Select Alias, Server, Database | Export-Csv dump.csv
2. By any connected mailbox I think u r asking any mailbox the have permission on, use below:
You can configure auditing in see event log for mailbox access logs.
set-EventLogLevel "mailbox server name"\MSExchangeIS\9000 Private\Send As -level low
http://social.technet.microsoft.com/Forums/en-US/exchangesvradmin/thread/9d2f4b24-ae17-49b4-a43b-88f7ced07840/
Sorry, I put an answer should not be here. Please delete it.
ASKER
By connected mailboxes I mean shared mailboxes.
Use Below cmdlet:
Get-Mailbox -resultsize unlimited | Select Alias, Server, Database | Export-Csv dump.csv
Get-Mailbox -ResultSize unlimited | Get-MailboxPermission | ?{($_.AccessRights -eq "FullAccess") -and ($_.User -like 'DOMAIN\user') -and ($_.IsInherited -eq $false)} | ft Id*
Let me know if it work for u
Get-Mailbox -resultsize unlimited | Select Alias, Server, Database | Export-Csv dump.csv
Get-Mailbox -ResultSize unlimited | Get-MailboxPermission | ?{($_.AccessRights -eq "FullAccess") -and ($_.User -like 'DOMAIN\user') -and ($_.IsInherited -eq $false)} | ft Id*
Let me know if it work for u
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
found solution from outside source.
ASKER