locked
Get Lync User Telephony settings via PowerShell RRS feed

  • Question

  • Hi

    I want to get Lync User's Telephony configuration via PowerShell. What commands should I run?

    Get-CsUser only gives information about 'EnterpriseVoiceEnabled' telephony but I need to find whether a user is enabled for "RemoteCallControl" or any other telephony option.

    Thanks


    Rizwan Ahmed. Software Engineer - Microsoft Lync | Exchange | SharePoint | Blackberry Enterprise Server | .NET

    Monday, May 21, 2012 11:28 AM

Answers

  • Executing Get-CsUser without any additional parameters will only show the more common settings for users, you need to specify any additional parameters you want to see.

    Use this cmdlet to see the normally hidden Remote Call Control setting for the queried user:

    PS C:\> Get-CsUser jeff| Select-Object EnterpriseVoiceEnabled, RemoteCallControlTelephonyEnabled, AudioVideoDisabled | fl
    
    EnterpriseVoiceEnabled            : False
    RemoteCallControlTelephonyEnabled : True
    AudioVideoDisabled                : False

     

    By querying these the values specifically (EnterpriseVoiceEnabled, RemoteCallControlTelephonyEnabled, and AudioVideoDisabled) you can deduce the specific Telephony Mode setting for the account by using the following logic:

    1. If all values are False then the user is set to the default value of PC-to-PC-Only.
    2. If any one value is True then that is the user's current mode.
    3. If both Remote Call Control and AudioVideo Disabled are True then the user is in Remote Call Control only mode.

    Jeff Schertz | Microsoft Solutions Architect - Polycom | Lync MVP

    • Proposed as answer by Kent-Huang Tuesday, May 22, 2012 2:56 AM
    • Marked as answer by itsrizi Tuesday, May 22, 2012 7:12 AM
    Monday, May 21, 2012 1:29 PM

All replies

  • Executing Get-CsUser without any additional parameters will only show the more common settings for users, you need to specify any additional parameters you want to see.

    Use this cmdlet to see the normally hidden Remote Call Control setting for the queried user:

    PS C:\> Get-CsUser jeff| Select-Object EnterpriseVoiceEnabled, RemoteCallControlTelephonyEnabled, AudioVideoDisabled | fl
    
    EnterpriseVoiceEnabled            : False
    RemoteCallControlTelephonyEnabled : True
    AudioVideoDisabled                : False

     

    By querying these the values specifically (EnterpriseVoiceEnabled, RemoteCallControlTelephonyEnabled, and AudioVideoDisabled) you can deduce the specific Telephony Mode setting for the account by using the following logic:

    1. If all values are False then the user is set to the default value of PC-to-PC-Only.
    2. If any one value is True then that is the user's current mode.
    3. If both Remote Call Control and AudioVideo Disabled are True then the user is in Remote Call Control only mode.

    Jeff Schertz | Microsoft Solutions Architect - Polycom | Lync MVP

    • Proposed as answer by Kent-Huang Tuesday, May 22, 2012 2:56 AM
    • Marked as answer by itsrizi Tuesday, May 22, 2012 7:12 AM
    Monday, May 21, 2012 1:29 PM
  • In addition to jeffs command you can use sefautil to see if they have any client side settings

    PS C:\Program Files\Microsoft Lync Server 2010\ResKit> .\SEFAUtil.exe /server:lyncsnapool01.internal.net user@domain.com
    User Aor: sip:user@domain.com
    Display Name: User
    UM Enabled: False
    Simulring enabled: True
    Simul_Ringing to: sip:+1714xxxxxxxxx@domain.com;user=phone
    CallForwarding Enabled: false
    PS C:\Program Files\Microsoft Lync Server 2010\ResKit>

     


    BBB

    • Proposed as answer by Kent-Huang Tuesday, May 22, 2012 2:56 AM
    Monday, May 21, 2012 5:31 PM
  • Hi,

    This is a duplicate post. The cmdlet Jeff provided can help you check Lync user's property. You can replace Parameter to show other properties.

    http://technet.microsoft.com/en-us/library/gg398510.aspx

    If you want to get user's policy settings such as voicepolicy or conferencingpolicy, you can try the cmdlet I posted in your previous post.

    http://social.technet.microsoft.com/Forums/en-US/ocsvoice/thread/e7e9c819-b316-485d-8da9-6ebe23c78ae2

    Hope this will help.

    Regards,

    Kent

    Tuesday, May 22, 2012 3:06 AM
  • I've also posted a blog article explaining this in more detail:

    http://blog.schertz.name/2012/05/viewing-lync-user-telephony-modes-in-powershell/


    Jeff Schertz | Microsoft Solutions Architect - Polycom | Lync MVP

    Tuesday, May 22, 2012 11:35 AM