AAD Group Licensing Limitations

Whilst trying to setup the Dirsync/AAD Connect group licensing, I came across this the link below:

Would really recommend it in terms of the following:

  1. Group nesting.
  2. Group licensing being only available to security groups.
  3. Impacts of removing a user from a group.
  4. Performance implications.
  5. Logging and auditing.

Great read.


Merging/Joining Get-aduser, Get-mailbox, and Get-mailboxstatistics

The other day, I was asked to provide an extract of all mailboxes in my exchange environment, along with attributes only available in other PS commands.

The below script provides the list (Get-Mailbox)along with a the sizes (Get-MailboxStatistics) and users’s associated dept(Get-User).

Hope it helps you.

Get-Mailbox -resultsize unlimited | sort-object | Select-Object DisplayName,PrimarySmtpAddress,@{n=”Size(KB)”;e = {$MBXstat = Get-MailboxStatistics $_.name; $MBXstat.totalItemsize}}, @{n=”ItemAcount”;e = {$MBXstat = Get-MailboxStatistics $_.name; $MBXstat.itemcount}},@{n=”Dept”;e={(get-aduser $_.name -properties department).department}} | export-csv mailboxout.csv

WordPress Appliance - Powered by TurnKey Linux