Horje
get shared mailbox powershell exchange 2010 Code Example
get shared mailbox powershell exchange 2010
$Mailboxes = Get-Mailbox -RecipientTypeDetails SharedMailbox
foreach ($Mailbox in $Mailboxes)
{
$Mailbox | Add-Member -MemberType “NoteProperty” -Name “MailboxSizeMB” -Value ((Get-MailboxStatistics $Mailbox).TotalItemSize.Value.ToMb())
$Mailbox | Add-Member -MemberType “NoteProperty” -Name “ItemCount” -Value ((Get-MailboxStatistics $Mailbox).ItemCount)
}
$Mailboxes | Sort-Object MailboxSizeMB -Desc | Select DisplayName,PrimarySMTPAddress,MailboxSizeMB,ItemCount,SamAccountName | Export-Csv -NoType “C:\Mailboxessize.csv”




Shell

Related
install pycharm ubuntu Code Example install pycharm ubuntu Code Example
Install your Dart SDK Code Example Install your Dart SDK Code Example
failed to connect to repository : error performing git command: git ls-remote -h Code Example failed to connect to repository : error performing git command: git ls-remote -h Code Example
linux add homedir Code Example linux add homedir Code Example
powershell get all directories in path Code Example powershell get all directories in path Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11