< Back
Invoke-IonFarFileSync
Post
NAME Invoke-IonFarFileSync
SYNOPSIS
Runs IonFar file synchronisation
SYNTAX
Invoke-IonFarFileSync -DestinationPath <string> -SiteUrl <string> -SourcePath <string> [-BaseDirectory <string>]
[-ClientId <string>] [-ClientSecret <string>] [-Password <string>] [-UserName <string>] [<CommonParameters>]
DESCRIPTION
Synchronizes files from given source directory to target SharePoint folder.
Transfers only if the local file has changed, by comparing the hashes.
PARAMETERS
-SiteUrl <string>
The url of the target SharePoint site
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-UserName <string>
User account to run the migrations
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Password <string>
Password of the user account to run the migrations
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ClientId <string>
App Principal Client ID
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ClientSecret <string>
App Principal Client Secret
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-BaseDirectory <string>
Full path to base working directory. Defaults to current directory if not specified
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SourcePath <string>
Source folder path relative to working directory
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DestinationPath <string>
Server relative destination SharePoint folder path. May use '~sitecollection/' or '~site/' prefix; the folder
must already exist
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
The url of the target SharePoint site
OUTPUTS
IonFar.SharePoint.Synchronization.SynchronizationResult
RELATED LINKS
SYNOPSIS
Runs IonFar file synchronisation
SYNTAX
Invoke-IonFarFileSync -DestinationPath <string> -SiteUrl <string> -SourcePath <string> [-BaseDirectory <string>]
[-ClientId <string>] [-ClientSecret <string>] [-Password <string>] [-UserName <string>] [<CommonParameters>]
DESCRIPTION
Synchronizes files from given source directory to target SharePoint folder.
Transfers only if the local file has changed, by comparing the hashes.
PARAMETERS
-SiteUrl <string>
The url of the target SharePoint site
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-UserName <string>
User account to run the migrations
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Password <string>
Password of the user account to run the migrations
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ClientId <string>
App Principal Client ID
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ClientSecret <string>
App Principal Client Secret
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-BaseDirectory <string>
Full path to base working directory. Defaults to current directory if not specified
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SourcePath <string>
Source folder path relative to working directory
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DestinationPath <string>
Server relative destination SharePoint folder path. May use '~sitecollection/' or '~site/' prefix; the folder
must already exist
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
The url of the target SharePoint site
OUTPUTS
IonFar.SharePoint.Synchronization.SynchronizationResult
RELATED LINKS