0

I need the pull the report using PowerShell script of recent AAD connect Synchronization service connector operation status of "Full Synchronization", "Full Import" and "Delta Synchronization" of all connectors.

instead of RDP the server every day and check the status, is it possible to pull the report and send to my mail using a service account.

"This Report I need to pull using script"

enter image description here

hacrks
  • 19
  • 5
  • Try with `Get-ADSyncToolsRunHistory` or even better `Export-ADSyncToolsRunHistory -Path .\RunHistory-RunStep.xml` – SoySolisCarlos Nov 23 '22 at 18:01
  • can we specify only the latest "Full Synchronization" , "Full Import" , "Delta Synchronization" and "Delta Import" ? – hacrks Nov 23 '22 at 18:25

1 Answers1

0

The available options are Get-ADSyncToolsRunHistory enter image description here

Or if you want to export the output in XML format Export-ADSyncToolsRunHistory -Path .\RunHistory-RunStep.xml enter image description here

All the ADSyncTools PowerShell commands are available here

SoySolisCarlos
  • 736
  • 1
  • 6
  • 13