I was trying to determine how I can display the number of lines in a list. For Example the following commands outputs al the ActiveSync users. I would like to email a list and also a summary of the number of users.
Get-CASMailbox | where {$_.HasActiveSyncDevicePartnership} | select DisplayName
Is their a easy way to display the List Length?