[PS] C:\Windows\system32>Get-ActiveSyncDevice | Get-ActiveSyncDeviceStatistics | select-object DeviceID,Identity,LastSuccessSync |export-csv c:\temp\report.csv
or
Get-CASMailbox -ResultSize Unlimited | where { $_.ActiveSyncEnabled -eq 'True'} | ft name, activesyncenabled –autosize > c:\ActiveSyncEnabled.txt
Read more...
Tuesday, January 6, 2015
Exchange server view mailbox and archive mailbox size
(Get-Mailbox) | Select-Object name,@{n="Primary Size(MB)";e={(Get-MailboxStatistics $_).totalItemsize.value.toMB()}},@{n="Archive Size(MB)";e={(Get-MailboxStatistics -archive $_).totalItemsize.value.toMB()}} | Export-csv c:\report.csv
Read more...
Read more...
Tuesday, August 12, 2014
Wednesday, August 6, 2014
Active Directory Accounts that do not have Thumbnail Photo
First please download and install
Quest ActiveRoles Management Shell for Active Directory.
and execute the command below;
Get-QADUser -IncludedProperties "thumbnailPhoto" | Where-Object {$_.thumbnailPhoto -eq $null}
Read more...
and execute the command below;
Get-QADUser -IncludedProperties "thumbnailPhoto" | Where-Object {$_.thumbnailPhoto -eq $null}
Read more...
Tuesday, August 5, 2014
Archive Database Statistics
[PS] C:\Windows\system32>Get-MailboxStatistics -Database "Archive Database Name"
Read more...
Read more...
Friday, July 25, 2014
Disabled AD Account that have mailboxes
Please execute the command below in EMS;
get-Mailbox -resultsize unlimited | where { $_.ExchangeUserAccountControl -match “AccountDisabled”} | select name,database,organizationalunit | sort-object name | export-csv c:\disabledaccountswithmailbox.csv
Read more...
get-Mailbox -resultsize unlimited | where { $_.ExchangeUserAccountControl -match “AccountDisabled”} | select name,database,organizationalunit | sort-object name | export-csv c:\disabledaccountswithmailbox.csv
Read more...
Subscribe to:
Posts (Atom)