locked
Get Lync User Telephony settings via PowerShell RRS feed

  • Question

  • Hi

    I want to get Lync User details and Telephony settings via PowerShell. What commands should I run?

    Get-CsUser  only gives information about 'EnterpriseVoiceEnabled' telephony but I also want to get information 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


    • Edited by itsrizi Monday, May 21, 2012 11:20 AM
    Monday, May 21, 2012 7:58 AM

Answers

All replies

  • You could try running a command similar to this

    get-csuser -onlyncserver -filter{remotecallcontroltelephonyenabled -eq $true}


    Please remember to click “Mark as Answer” if this resolved the issue.

    Monday, May 21, 2012 2:50 PM
  • You can use get-csuser |fl * to get all information for a user

    regards Holger Technical Specialist UC

    Monday, May 21, 2012 5:13 PM
  • Hi,

    You can try this:

    Get-CsUser -Identity "user1" | Select-Object identity,@{Name='EnableTeamCall';Expression={[String]::join(";",(Get-CsVoicePolicy -identity

    $_.voicepolicy.FriendlyName).EnableTeamCall)}}

    It will the property "Enableteamcall" of voicepolicy policy that has been appied for user1.

    Identity                    Enableteamcall

    ----------                ---------------------

    user1                       True

    So you can try to replace the parameter (marked as blod) to show other property for other user's policy like this:

    Get-CsUser -Identity "user2" | Select-Object identity,@{Name='allowIPAudio';Expression={[String]::join(";",(Get-csconferencingpolicy -identity

    $_.conferencingpolicy.FriendlyName).allowIPAudio)}}

    Identity                    allowIPAudio

    ----------                ---------------------

    user2                        False

    Hope this will help.

    Regards,

    Kent


    • Proposed as answer by Kent-Huang Tuesday, May 22, 2012 2:20 AM
    • Unproposed as answer by Kent-Huang Tuesday, May 22, 2012 2:21 AM
    • Edited by Kent-Huang Tuesday, May 22, 2012 2:24 AM
    Tuesday, May 22, 2012 2:20 AM
  • Hi All

    Thanks for your responses! I've been answered here...

    http://social.technet.microsoft.com/Forums/en-US/ocsmanagement/thread/d6b574c9-e473-40cb-898a-b64431946801


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



    • Edited by itsrizi Tuesday, May 22, 2012 7:20 AM
    • Proposed as answer by Kent-Huang Tuesday, May 22, 2012 8:27 AM
    • Marked as answer by Kent-Huang Thursday, May 31, 2012 2:56 AM
    Tuesday, May 22, 2012 7:17 AM
  • sorry your Link has a mistype?

    regards Holger Technical Specialist UC

    Monday, May 28, 2012 12:01 PM