Mailbox Access
Add-mailboxpermission SharedMailbox@techevangs.com –user Gautam.Sharma@techevangs.com –accessrights fullaccess –inheritancetype all
Send As Rights:
Add-ADPermission SharedMailbox@techevangs.com –User Gautam.Sharma@techevangs.com –ExtendedRights “Send As”
Change DL owner
import-csv c:\gautam\owners.csv | foreach { Set-Distributiongroup -id $_.Displayname -managedby $_.managedby}
Add-ADpermission -identity SharedMailbox@techevangs.com –user Gautam.Sharma@techevangs.com –accessrights Writeproperty –properties “Member”
Backup Status
Get-MailboxServer * | Get-MailboxDatabase -status | ft name, lastfullbackup
mailbox movement
‘Gautam.Sharma@techevangs.com’ | move-mailbox -BadItemLimit ’10’ -TargetDatabase ‘AUMEL11XM11\AUMEL11XM11-SG24\AUMEL11XM11-SG24-MB1’ -DomainController ‘AUMEL11DC01.mercer.com’ -GlobalCatalog ‘AUMEL11DC01.mercer.com’ -confirm:$False;