locked
Skype active accounts RRS feed

  • Question

  • What are the commands from Powershell for calling reports: Active SfB accounts and last logins from 90 days?

    • Edited by Marecheck Thursday, October 18, 2018 12:35 PM
    Thursday, October 18, 2018 12:34 PM

All replies

  • From Sfb Management Shell:

    Get-CsUser –Filter {Enabled –eq $True} | Select-Object DisplayName, Enabled

    There isn't a command to run for last logins native to SfB Management Shell. You need to query multiple SQL tables for this. There are lots of scripts people have done to create this for you:

    https://y0av.me/2014/05/08/lll/

    https://guybachar.net/2014/05/01/script-list-the-last-time-a-user-registered-on-a-lync-pool-and-its-client-type/

    Regards

    • Proposed as answer by K_S_C Friday, October 19, 2018 8:36 AM
    Thursday, October 18, 2018 1:16 PM
  • Thx Mate Very Much !
    Friday, October 19, 2018 5:14 AM
  • Hi Marecheck,

    Agree with KSC, thanks for sharing your query here, please feel free to let us know if anything else.

    If the reply gives you some help, please try to mark it as an answer since it will help others who has similar issue. :)

    Kind regards,

    Calvin Liu


    Please remember to mark the reply as an answer if you find it is helpful. It will assist others who has similar issue. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    Friday, October 19, 2018 7:22 AM
  • Agree with K_S_C

    Mark it as Answered, it will help others in finding the answer who have similar query.


    Neeranjan Shettar (MyPage)

    [If a post helps to resolve your issue, please click the "Mark as Answer" of that post or click Answered "Vote as helpful" button of that post. By marking a post as Answered or Helpful, you help others find the answer faster. ]

    Friday, October 19, 2018 8:24 PM