A nice PowerShell command to view all public folders’ sizes Get-PublicFolderStatistics | Sort-Object TotalItemSize -Descending | ft Name,@{label=”TotalItemSize(MB)”;expression={$_.TotalItemSize.Value.ToMB()}},@{label=”TotalDeletedItemSize(MB)”;expression={$_.TotalDeletedItemSize.Value.ToMB()}} -wrap | Out-String
Tag: powershell
Connect PowerShell to Office 365 (MsolService)
To connect the PowerShell to Office 365 you need: Microsoft Online Services Sign-In Assistant https://www.microsoft.com/en-us/download/details.aspx?id=39267 Azure Active Directory Module for Windows
Set maximum email message size for outbound messages
To set maximum email message size for outbound messages for an individual user do the following: #First check the current
Create Distribution Groups on Exchange using EMS
To create a distribution group on Exchange 2010, 2013 & Exchange Online using EMS the command is: New-DistributionGroup -Name “Name”
Create contacts on Exchange using EMS
To create a contact on Exchange 2010, 2013 & Exchange Online using EMS the command is: New-MailContact -DisplayName “Display Name”