Skip to content

Instantly share code, notes, and snippets.

@amandadebler
Last active June 15, 2016 13:57
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amandadebler/891de0c032009a0cf41785f64a49be0d to your computer and use it in GitHub Desktop.
Save amandadebler/891de0c032009a0cf41785f64a49be0d to your computer and use it in GitHub Desktop.
Finding who has an extension on their Exchange UM mailbox when they don't have it on their Skype Line URI
<# Who has that Exchange UM extension?
The error when attempting to Enable-UMMailbox:
Extension 2233 is already assigned to another user on dial plan Nuremberg or on an equivalent dial
plan.
Get-CsAdPrincipal continues to be FAST: about 40-50ms against my real-life 40k+ user AD
#>
Get-CsAdPrincipal -LDAPFilter '(proxyAddresses=eum:2233;phone-context=Nuremberg.mandie.net)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment