Add Fullmailbox Permission in PowerShell using a CSV file

Create a CSV with following fields and save it in a temp folder UserMailbox and User copy the below and save as .ps1 file in the same temp folder e.g C:\temp $csv = Import-csv -path “C:\temp\fullaccess.csv” foreach($User in $csv) { Add-MailboxPermission -Identity $user.UserMailbox -User $user.User -AccessRights FullAccess -InheritanceType All }   Run the script to apply … Continue reading Add Fullmailbox Permission in PowerShell using a CSV file

Get-MailboxStatistics to export Mailbox size in Exchange Powershell

Use the below to export mailbox statistics from exchange PowerShell. There are different commands which help you filter and manipulate the exported data. The exported information is always useful during Office 365 migration to assess mailbox sizes and item counts, last login time and required bandwidth. Export Mailbox size and statistics of all users get-mailbox  … Continue reading Get-MailboxStatistics to export Mailbox size in Exchange Powershell