< Back
Invoke-IonFarScriptMigration
Post
NAME Invoke-IonFarScriptMigration
SYNOPSIS
Runs IonFar migration scripts
SYNTAX
Invoke-IonFarScriptMigration -ScriptDirectory <string> -SiteUrl <string> [-ClientId <string>] [-ClientSecret
<string>] [-Force <SwitchParameter>] [-JournalPrefix <string>] [-Password <string>] [-UserName <string>]
[<CommonParameters>]
DESCRIPTION
Runs a series of deployment scripts against a provided SharePoint Online site.
By default, runs only the new scripts that weren't executed before.
This behaviour can be overriden by using -Force parameter.
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
-ScriptDirectory <string>
Full path to scripts directory
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Force <SwitchParameter>
Runs all scripts even if they were executed before
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-JournalPrefix <string>
Specify a custom property bag prefix
Required? false
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.Migration.MigrationResult
RELATED LINKS
SYNOPSIS
Runs IonFar migration scripts
SYNTAX
Invoke-IonFarScriptMigration -ScriptDirectory <string> -SiteUrl <string> [-ClientId <string>] [-ClientSecret
<string>] [-Force <SwitchParameter>] [-JournalPrefix <string>] [-Password <string>] [-UserName <string>]
[<CommonParameters>]
DESCRIPTION
Runs a series of deployment scripts against a provided SharePoint Online site.
By default, runs only the new scripts that weren't executed before.
This behaviour can be overriden by using -Force parameter.
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
-ScriptDirectory <string>
Full path to scripts directory
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Force <SwitchParameter>
Runs all scripts even if they were executed before
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-JournalPrefix <string>
Specify a custom property bag prefix
Required? false
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.Migration.MigrationResult
RELATED LINKS