No need for a bunch of hoopla, here’s the short and sweet version.
Add Send As Permission for All Users from a User Account
Get-Mailbox -ResultSize Unlimited | Add-ADPermission -User "YourDomain\Username" -Extendedrights "Send As"
To add send as permissions for future users, we need to create a powershell script with the above line in it, make sure you have enabled the use of unsigned scripts by issuing the “Set-ExecutionPolicy remotesigned” command at an administrator ran PowerShell prompt, and create a task scheduler job to run our script with the administrator credentials saved in there.
Continue reading “Exchange 2010 – Add Send As Permission for All Users/Future Users from a User Account”
As mentioned in a previous post, if you’re Email Server is running out of hard drive space and you’re in a world of hurt, there are several steps you must take to get that space back. Even if you have your user’s tidy up their mailbox and you force delete out their RecoveryItems folders, you will essentially be creating free whitespace to store more messages but the size of your database will never shrink below it’s current state. To actually shrink size of the database file, you will have to do the following:
- Have the end users get rid of all their unimportant emails and empty their Deleted Items folder.
- Purge all of the user’s RecoveryItems folders. To learn how, read this.
- Either create a new mailbox database, mount it, move all the mailboxes to it, then dismount and delete the old database
— OR —
Dismount the databases and run the defrag utility
Either way, both scenarios are extremely time consuming so get your blanket and sun tan lotion because you’re never getting off that beach, just the way you never got into the NHL, ya jackass!
Continue reading “Exchange Server 2010 – Shrink Database Size – OR – Reclaim Lost Database Storage Space”
In the Exchange Management Shell, to get a list of mailboxes by creation date in ascending order:
Get-Mailbox -ResultSize unlimited | Sort-Object WhenMailboxCreated | ft Name,WhenMailboxCreated -autosize
Continue reading “Exchange Server 2010 – Get a List of Mailboxes by Creation Date”
To get a list of all available column names or mailbox attributes so you know what values to enter when trying to sort query results with the “Get-Mailbox” command, issue the following in the Exchange Management Shell:
Continue reading “Exchange Server 2010 – Get a List of All Mailbox Columns/Attribute Names”
This will grant full access rights to all mailboxes for the Domain Admins group. Obviously, you need to replace “YourDomainHere” with your actual domain name. Type the following inside of the Exchange Management Shell:
Continue reading “Exchange Server 2010 – Grant Full Access Rights for All Mailboxes”
Every now and then, when re-enabling a user’s mailbox after it has been disabled, OWA will spit out an error message saying that the account is still disabled and the user will not be able to log in. To fix this, run the following command in the Exchange Management Shell:
Continue reading “Exchange 2010 OWA – Mailbox is Disabled”