Skip to content

Latest commit

 

History

History
64 lines (42 loc) · 1.76 KB

File metadata and controls

64 lines (42 loc) · 1.76 KB

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

Synopsis

Triggers a directory sync cycle and optionally waits for completion.

Description

The host must supply a provider instance via Context.Providers[<ProviderAlias>] that 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:

  • With.AuthSessionName (optional): routing key for AuthSessionBroker

  • With.AuthSessionOptions (optional, hashtable): forwarded to broker for session selection

  • If AuthSessionName is omitted, the broker is asked for a default session

  • ComputerName and PolicyType are provider-specific inputs and are validated by the selected provider

  • ScriptBlocks in AuthSessionOptions are rejected (security boundary)

Inputs (With.*)

This step has no required With.* keys at step schema level. Inputs may still be provider-specific; refer to the step description and examples for usage details.

Example

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

See Also