While I was playing about with Discovery Search, I had the issue that I couldn't open up the Discovery Search Mailbox with either OWA or Outlook.
I suspected it was a permissions issue, but I was already a member of the Discovery Management group and when I looked at the Full Access Permissions in Exchange Management Console I could see that group listed.
After much scratching of my head, I decided to dive into ADSIedit and have a look at that Mailbox.
I found the Mailbox under Default Naming Context > DC=Domain,DC=Name > CN=Users, CN=DiscoverySearchMailbox{blahblahblah}
and when I took a look, I saw that the Discovery Management group wasn't listed. I just added it back in and gave it full control and the problem was solved!
I hope this tip proves useful please click on an advert to show your appreciation.
Showing posts with label ActiveDirectory. Show all posts
Showing posts with label ActiveDirectory. Show all posts
Wednesday, 18 April 2012
Friday, 27 January 2012
Find email addresses in Exchange 2010
The quickest and easiest way to work out who (or what) is using an email address is to open up a PowerShell command window and run:
get-recipient -results unlimited | where {$_.emailaddresses -match "address@company.com"} | select name,emailaddresses,recipienttype
for full details on the result, try
get-recipient -results unlimited | where {$_.emailaddresses -match " address@company.com "} | fl
Tuesday, 29 November 2011
Backing up Ex2010 mailboxes to PST
Exchange 2010 SP1 has a new command to import and export to a PST.
First you need to give yourself permissions to do this with the following command:
New-ManagementRoleAssignment –Role “Mailbox Import Export” –User “<username>”
You will need to close down and open up the console again to gain access to the commands below.
Then you need to run the following to actually Export for a PST
New-MailboxExportRequest -Mailbox user@domain.com -FilePath \\path\to\file.pst
If it's a backup of the archive you're after add -IsArchive on the end
You can check on the progress of the backup with:
Get-MailboxExportRequest
or
Get-MailboxExportRequestStatistics username\MailboxExport -IncludeReport | fl | Out-File c:\temp\output.txt
For full details.
You can clear any old Mailbox requests with:
Remove-MailboxExportRequest -Identity "username\MailboxExport"
or
Get-MailboxExportRequest | Remove-MailboxExportRequest
to remove them all (and be prompted)
Very simple!
I hope this article helps you out... please click on an advert to show your appreciation.
First you need to give yourself permissions to do this with the following command:
New-ManagementRoleAssignment –Role “Mailbox Import Export” –User “<username>”
You will need to close down and open up the console again to gain access to the commands below.
Then you need to run the following to actually Export for a PST
New-MailboxExportRequest -Mailbox user@domain.com -FilePath \\path\to\file.pst
If it's a backup of the archive you're after add -IsArchive on the end
You can check on the progress of the backup with:
Get-MailboxExportRequest
or
Get-MailboxExportRequestStatistics username\MailboxExport -IncludeReport | fl | Out-File c:\temp\output.txt
For full details.
You can clear any old Mailbox requests with:
Remove-MailboxExportRequest -Identity "username\MailboxExport"
or
Get-MailboxExportRequest | Remove-MailboxExportRequest
to remove them all (and be prompted)
Very simple!
I hope this article helps you out... please click on an advert to show your appreciation.
Friday, 26 August 2011
Changing the default User and Computer OU
I like to keep my "Real" Users in a separate folder away from all the other system accounts. This ensures that only valid accounts are displayed if you use LDAP lookups for various applications (e.g. a network scanner)
Windows 2003 introduced a couple of new commands that allow you to change the default location:
Users:
ReDirUsr "OU=RealUsers,DC=domain,DC=com"
Computers:
ReDirCmp "OU=RealComputers,DC=domain,DC=com"
You need to run this on a Domain Controller, and you need the AD to be in Windows 2003 mode as a minimum.
As you want to ensure the path to the new directory is correct, I recommend Softerra LDAP browser (it's free) which allows you to connect to the AD with LDAP and copy object locations.
I hope this helps you out...please click on an advert to show your appreciation.
Windows 2003 introduced a couple of new commands that allow you to change the default location:
Users:
ReDirUsr "OU=RealUsers,DC=domain,DC=com"
Computers:
ReDirCmp "OU=RealComputers,DC=domain,DC=com"
You need to run this on a Domain Controller, and you need the AD to be in Windows 2003 mode as a minimum.
As you want to ensure the path to the new directory is correct, I recommend Softerra LDAP browser (it's free) which allows you to connect to the AD with LDAP and copy object locations.
I hope this helps you out...please click on an advert to show your appreciation.
Subscribe to:
Posts (Atom)