Skip to content

Get-EntraIDSync

SYNOPSIS

Retrieve the synchronization status of the Azure AD Connect service.

SYNTAX

Get-EntraIDSync

DESCRIPTION

This function retrieves the synchronization status of the Azure AD Connect service running on a specified server. It uses the `Invoke-Command` cmdlet to remotely execute the `Get-ADSyncConnectorRunStatus` command and returns the current run state.

EXAMPLES

EXAMPLE 1

Get-EntraIDSync

Retrieves the synchronization status of the Azure AD Connect service on the default server `SRVACCMANPR01`.

EXAMPLE 2

Get-EntraIDSync -ComputerName "SRVACCMANPR02"

Retrieves the synchronization status of the Azure AD Connect service on the server `SRVACCMANPR02`.

PARAMETERS

INPUTS

OUTPUTS

NOTES