locked
How do you find a list of UM enabled accounts that don't have a Personal Operator set? RRS feed

  • Question

  • Hi,

    I'm trying to run a powershell cmdlet that will give me a list of all our UM-enabled accounts that don't have the Personal Operator property populated.

    I can run the following to show me which accounts have a particular Operator extension assigned:  

    Get-UmMailbox | ForEach { If($_.OperatorNumber -Eq 3000){$_.Name}}

    Sometimes this field gets neglected during account creation and we're trying to find the accounts that don't have it set.  What would be the command for that?  Also, is there a search filter within EMC that can do the same?

    Thanks.

    Rory



    Rory Schmitz

    Monday, January 4, 2016 7:13 PM

Answers

  • Get-UMMailbox supports the OperatorNumber filter, so you should be able to do it like:

    Get-UMMailbox -Filter {OperatorNumber -eq $null}

    • Marked as answer by RorySchmitz Monday, January 4, 2016 7:58 PM
    Monday, January 4, 2016 7:41 PM

All replies

  • Get-UMMailbox supports the OperatorNumber filter, so you should be able to do it like:

    Get-UMMailbox -Filter {OperatorNumber -eq $null}

    • Marked as answer by RorySchmitz Monday, January 4, 2016 7:58 PM
    Monday, January 4, 2016 7:41 PM
  • Easy enough!  I don't know how many variations of $null I tried, but it didn't quite work properly.  Thanks for the quick response.

    Rory Schmitz

    Monday, January 4, 2016 7:58 PM