Skip to main content

IdLE.Step.TriggerDirectorySync

Generated file. Do not edit by hand. Source: tools/Generate-IdleStepReference.ps1

Summary​

  • Step Type: IdLE.Step.TriggerDirectorySync
  • Module: IdLE.Steps.DirectorySync
  • Implementation: Invoke-IdleStepTriggerDirectorySync
  • Idempotent: Unknown
  • Required Capabilities: IdLE.DirectorySync.Trigger, IdLE.DirectorySync.Status

Synopsis​

Triggers a directory sync cycle and optionally waits for completion.

Description​

The engine passes the provider resolved from With.Provider (default 'DirectorySync') as -Provider. The provider implements:

  • StartSyncCycle(PolicyType, ComputerName, AuthSession)

  • GetSyncCycleState(ComputerName, AuthSession)

The step is designed for remote execution and requires an elevated auth session provided by the host's AuthSessionBroker.

Authentication is handled by the engine: With.AuthSessionName (optional) and With.AuthSessionOptions select the session; without AuthSessionName the broker is asked for a default session. ComputerName and PolicyType are provider-specific inputs and are validated by the selected provider.

Inputs (With.*)​

Validated at plan time against the step's WithSchema (see Step metadata contract).

KeyTypeRequiredDefaultNotes
ComputerNameStringNo
PolicyTypeStringNo
PollIntervalSecondsIntNo10
TimeoutSecondsIntNo600
WaitBoolNo$false
AuthSessionNameStringNobroker default sessionAuth session routing key for the AuthSessionBroker.
AuthSessionOptionsHashtableNoData-only options passed to the AuthSessionBroker.
ProviderStringNoDirectorySyncProvider alias in Providers.

Example​

$step = @{
Name = 'Trigger directory sync'
Type = 'IdLE.Step.TriggerDirectorySync'
With = @{
AuthSessionName = 'DirectorySync'
ComputerName = 'ad-sync1.corp.local'
PolicyType = 'Delta'
Wait = $true
}
}

See Also​