Run or preview a synchronization setup through the GUI or Set-SyncConfig
Invoke-Sync [[-engineConfigPath] <Object>] [-FolderPairName] <Object> [-PreviewOnly]
Utilizes SyncToyRunner.exe to Run or preview a synchronization setup through the GUI or Set-SyncConfig
Get-SyncConfig
The full-path where the SyncToy engine configuration should be saved to detaults to default SyncToy configuration path. Defaults to "$env:LOCALAPPDATA\Microsoft\SyncToy\2.0\SyncToyDirPairs.bin".
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: "$env:LOCALAPPDATA\Microsoft\SyncToy\2.0\SyncToyDirPairs.bin"
Accept pipeline input: False
Accept wildcard characters: False
Name of the folder pair to run or preview
Type: Object
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Switch to indicate whether to only preview or run the sync operation for the chose folder pair.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False