Object Type
|
RecipientTypeDetails (Decimal Value)
|
User Mailbox
|
1
|
Linked Mailbox
|
2
|
Shared Mailbox
|
4
|
Legacy Mailbox
|
8
|
Room Mailbox
|
16
|
Equipment Mailbox
|
32
|
Mail Contact
|
64
|
Mail-enabled User
|
128
|
Mail-enabled Universal Distribution |
Posts
msExchRemoteRecipientType
When dealing with attributes synced to O365 via FIM \ DirSync \ AAD Sync, you will frequently encounter the msExchRemoteRecipient type attribute, previously empty in on-prem Exchange (only msExchRecipientTypeDetails and msExchRecipientDisplayType had … [Keep Reading]
Powershell Remote User Logoff / Reboot
When patching servers, any disconnected user sessions typically prevent the post-patch auto reboot. To remedy this you could use the following Powershell script :
foreach ($_ in get-content servers.txt) {(… [Keep Reading]
AD Attributes that are changed when a mailbox moves to Office 365
There’s not a lot of great documentation available on what values change when an on-prem mailbox moves to the cloud. The full list is below, but it’s important to note the following … [Keep Reading]
Group Nesting Powershell report using Quest Activeroles
I was recently asked to provide a report on the number (and depth) of nested groups in AD.
Getting a list of the groups inside a group is pretty simple using … [Keep Reading]
Auto-Licensing script for Office 365
You can use the following script with task scheduler to connect to your tenant via powershell, check for any unlicensed users and apply a license.
It will alert via email when the … [Keep Reading]
DN value in AAD Sync AAD Connect – the NEW format
DirSync \ FIM used to use the Immutable ID value in the Azure connector space, making it somewhat straightforward to search for objects in the Azure CS using the ImmutableID (either copied … [Keep Reading]
SKU and Service Plan ID values
This is by no means a complete list, it’s only what I’ve been able to collect so far, however here are a list of SKU ID and Service Plan ID values. This … [Keep Reading]
Zipping files older than X days
Recently I was working with a firewall that wrote some tremendously large log files and was eating disk at an alarming rate, so to remedy this, and sharpen my Powershell pencil, … [Keep Reading]
Powershell, The Clipboard, and re-living the past …
One of my favorite Powershell features is the ability to export the output of pretty much anything to the clipboard using | clip
I've found that piping to clip is much easier … [Keep Reading]