locked
How to list Lync 2010 Enterprise Voice users who are not UM-enabled RRS feed

  • Question

  • Hello everyone

    First of all, apologies if I haven't posted this in the correct forum, however it appeared to be the most appropriate one to me.

    The reason I'm posting is to ask if someone could please advise me of an appropriate Powershell/Management Shell command or similar I could use to list Lync 2010 Enterprise Voice users, but only those who are not currently enabled for Unified Messaging.  We believe we have a number of EV users who are not currently UM-enabled, however I'm not aware of the best method to use to identify these users.

    I've tried using variations of the get-csuser command in the Lync Management Shell, however I believe that the UM status is an Exchange attribute, and therefore the Lync server cannot interrogate it directly.  I don't just want to run a command in the Exchange Management Shell to show which mailboxes have a UM Enabled status of False as that will apply to lots of accounts, and I'm only interested in the users who are EV-enabled.

    Any help would be greatly appreciated.  Thanks! :-)


    • Edited by shuckie Monday, July 15, 2013 9:37 AM Typo
    Friday, July 12, 2013 2:35 PM

Answers

  • I am not sure as to why you are not getting this value. The only other way I could possibly think of (which is not so neat) is to use something like:

    Get-UmMailbox | ForEach { If($_.UmEnabled -Eq $True){$_.Name}} 

    Against the Exchange Server and then use 

    Get-CsUser | where {$_.EnterpriseVoiceEnabled -eq $true}

    Against the Lync environment.

    You could alsotry  | export-csv c:\file.csv for each result set and use something like Excel to compare?


    Blog http://ucfoc.us | Twitter @georgathomas

    • Marked as answer by Kent-Huang Thursday, July 18, 2013 1:27 PM
    Tuesday, July 16, 2013 2:01 PM

All replies

  • The attribute is ExUMEnabled tells you if the user is UM Enabled - it's updated when you UM Enable someone in Exchange. You can try something like from Lync powershell: 

    Get-CsUser | where {$_.EnterpriseVoiceEnabled -eq $true} | Select displayname, enterprisevoiceenabled, exumenabled


    Blog http://ucfoc.us | Twitter @georgathomas




    • Edited by Georg Thomas Friday, July 12, 2013 3:15 PM added from Lync powershell
    Friday, July 12, 2013 2:49 PM
  • Sorry I forgot to add the bit to exclude users that are UM Enabled: 

    Get-CsUser | where {$_.EnterpriseVoiceEnabled -eq $true -and $_.ExUmEnabled -eq $false} | Select displayname, enterprisevoiceenabled, exumenabled


    Blog http://ucfoc.us | Twitter @georgathomas

    Friday, July 12, 2013 3:19 PM
  • Hi Georg

    Thanks for the reply.  I've tried running the second command with  $_.ExUmEnabled set to equal both false and true, however I get no results either way?  I also tried running the first command to see if I got any results at all, and although I do get a list of users with all three columns, the exumenabled column is blank?  I know that a lot of these users are definitely UM-enabled, however even my account - which is definitely UM-enabled - has no attribute in the third column?

    Any idea what I might be doing wrong?

    Thanks again! :-)

    Monday, July 15, 2013 8:44 AM
  • If you do a Get-CsUser sip:user@fqdn

    Do you get the property then?


    Blog http://ucfoc.us | Twitter @georgathomas

    Monday, July 15, 2013 1:29 PM
  • Hi again

    No, I don't.  The only properties I get are as follows;

    Identity               :

    VoicePolicy            :
    ConferencingPolicy     :
    PresencePolicy         :
    DialPlan               :
    LocationPolicy         :
    ClientPolicy           :
    ClientVersionPolicy    :
    ArchivingPolicy        :
    PinPolicy              :
    ExternalAccessPolicy   :
    MobilityPolicy         :
    HostedVoiceMail        :
    HostedVoicemailPolicy  :
    HostingProvider        :
    RegistrarPool          :
    Enabled                :
    SipAddress             :
    LineURI                :
    EnterpriseVoiceEnabled :
    HomeServer             :


    DisplayName            :
    SamAccountName         :

    Is there something I need to do to make the property visible?

    Monday, July 15, 2013 1:41 PM
  • Did you have the Exchange UM user enabled prior to integrating with Lync? Oddly though when I run it mine say "False" not blank

    Blog http://ucfoc.us | Twitter @georgathomas

    Monday, July 15, 2013 2:07 PM
  • Lync was implemented before Exchange UM, so all the users who have UM were enabled for it after being Lync-enabled.

    Monday, July 15, 2013 2:56 PM
  • Hi Georg

    Are there any other commands I could try to obtain the same information?  I'm really struggling to think of an alternative and am being chased to provide this information, so any other options would be most appreciated! :-)

    Many thanks.

    Tuesday, July 16, 2013 12:55 PM
  • I am not sure as to why you are not getting this value. The only other way I could possibly think of (which is not so neat) is to use something like:

    Get-UmMailbox | ForEach { If($_.UmEnabled -Eq $True){$_.Name}} 

    Against the Exchange Server and then use 

    Get-CsUser | where {$_.EnterpriseVoiceEnabled -eq $true}

    Against the Lync environment.

    You could alsotry  | export-csv c:\file.csv for each result set and use something like Excel to compare?


    Blog http://ucfoc.us | Twitter @georgathomas

    • Marked as answer by Kent-Huang Thursday, July 18, 2013 1:27 PM
    Tuesday, July 16, 2013 2:01 PM
  • Hi again Georg

    I was able to compare the CSV outputs from the EMC and LMS to determine which users were EV but without UM.  Just waiting for agreement to enable the remaining users for UM to ensure all unanswered calls are diverted to voicemail.

    Thanks for your help! :-)
    Thursday, July 18, 2013 3:18 PM