Need Powersheel script to export User details from On-Prem and O365

This topic contains 4 replies, has 2 voices, and was last updated by Profile photo of Dan Potter Dan Potter 1 month, 3 weeks ago.

  • Author
    Posts
  • #63589
    Profile photo of Avijit Dutta
    Avijit Dutta
    Participant

    Dear All – Need your help and support to create a PowerShell script which will take the sAMAccountName as an input and provide the mailbox, active sync, webmail status of those users. The user can be on-prem or cloud anywhere, the script should check details in both locations and export the information in excel file.

    In the later stage, I want to export the Skype details as well in the same script. This is required for Monthly reconciliation of users access.

  • #63591
    Profile photo of Avijit Dutta
    Avijit Dutta
    Participant

    In addition to above, I want below details in the excel.

    sAMAccountName
    DisplayName
    mail
    Mailbox Status (On-Prem or O365 or No-Mailbox)
    Active Sync Status
    Webmail Status
    OU

  • #63594
    Profile photo of Dan Potter
    Dan Potter
    Participant

    This is a powershell support forum for scripts you may be having issues with. what have you tried?

    • #63595
      Profile photo of Avijit Dutta
      Avijit Dutta
      Participant

      Hello Dan... i tired few thing but the challenges is connecting both the exchange environments i.e. on-prem and cloud at a same time.

  • #63615
    Profile photo of Dan Potter
    Dan Potter
    Participant

You must be logged in to reply to this topic.