Category: Microsoft Exchange

MailboxImportRequest FailsMailboxImportRequest Fails

I ran into an issue with a Powershell script I wrote recently, where I received this error: The name must be unique per mailbox. There isn’t a default name available for a new request owned by mailbox xyz Basically, a record is kept for completed mailbox move requests, and if

READ MOREREAD MORE

Editing Calendar Permissions in Office365 via PowershellEditing Calendar Permissions in Office365 via Powershell

First you need to connect to Office365. Next, simply run this commandlet: Add-MailboxFolderPermission [email protected]:\Calendar –User [email protected] –AccessRights Author Your accessrights options are: Owner, PublishingEditor, Editor, PublishingAuthor, Author, NonEditingAuthor, Reviewer, Contributor, AvailabilityOnly, LimitedDetails If you’d like to get permissions, you can simply use: Get-MailboxFolderPermission –Identity [email protected]:\Calendar –User [email protected] Finally, to remove

READ MOREREAD MORE

Disable the Calendar on a User or Shared Mailbox In ExchangeDisable the Calendar on a User or Shared Mailbox In Exchange

This works for Office365 or an internal Exchange server to disable the calendar on a Shared Mailbox or User’s Mailbox. First, you’ll have to pull up the Exchange Management Shell. Then run the following commands: New-OwaMailboxPolicy –Name “New Policy Name” Creates a new mailbox policy Set-OwaMailboxPolicy –Identity “New Policy Name”

READ MOREREAD MORE

Generate Mailbox Size and Usage Report using PowerShell for Exchange 2010 / 2013Generate Mailbox Size and Usage Report using PowerShell for Exchange 2010 / 2013

An easy way to get a mailbox usage report is via the Get-Mailboxstatistics commandlet in powershell and a combination of other commands. The below script will output a mailbox usage report in HTML format:   Get-Mailbox -ResultSize Unlimited | Get-MailboxStatistics | Select DisplayName, TotalItemSize,ItemCount,Database,LastLogonTime,LastLoggedOnUserAccount | Sort TotalItemSize -Descending | ConvertTo-Html

READ MOREREAD MORE