You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
' -u domain\username -p password 'Credentials for source server. OPTIONAL, default credentials are used if missing.
23
-
' -v st="SITE" 'Specifies SharePoint site, in case source server is in SharePoint integrated mode
24
-
' -v f="SOURCEFOLDER" 'Set to "/" for migrating everything, or to something like "/folder/subfolder" for partial migration. Everything within this folder will be copied. OPTIONAL, default is "/".
21
+
' -s SOURCE_URL 'URL of the source RS server.
22
+
' -u domain\username -p password 'Credentials for source server. OPTIONAL, default credentials are used if missing.
23
+
' -v st="SITE" 'Specifies SharePoint site, in case source server is in SharePoint integrated mode
24
+
' -v f="SOURCEFOLDER" 'Set to "/" for migrating everything, or to something like "/folder/subfolder" for partial migration. Everything within this folder will be copied. OPTIONAL, default is "/".
25
25
'
26
-
' -v ts="TARGET_URL" 'URL of the target RS server"
27
-
' -v tu="domain\username" -v tp="password" 'Credentials for target server. OPTIONAL, default credentials are used if missing.
28
-
' -v tst="SITE" 'Specifies SharePoint site, in case target server is in SharePoint integrated mode
29
-
' -v tf="TARGETFOLDER" 'Set to "/" for migrating into the root level, or to something like "/folder/subfolder" for copying into some folder, which must be already existing. Everything within "SOURCEFOLDER" will be copied into "TARGETFOLDER". OPTIONAL, default is "/".
30
-
' -v security= "True/False" 'If set to "False", destination catalog items will inherit security setting according to the settings of the target system. Default is false.
26
+
' -v ts="TARGET_URL" 'URL of the target RS server"
27
+
' -v tu="domain\username" -v tp="password" 'Credentials for target server. OPTIONAL, default credentials are used if missing.
28
+
' -v tst="SITE" 'Specifies SharePoint site, in case target server is in SharePoint integrated mode
29
+
' -v tf="TARGETFOLDER" 'Set to "/" for migrating into the root level, or to something like "/folder/subfolder" for copying into some folder, which must be already existing. Everything within "SOURCEFOLDER" will be copied into "TARGETFOLDER". OPTIONAL, default is "/".
30
+
' -v security= "True/False" 'If set to "False", destination catalog items will inherit security setting according to the settings of the target system. Default is false.
31
+
' -v logprefix="PREFIX" 'Prefix name to the output log file.
@@ -524,8 +563,11 @@ Function MigrateCatalogItem(srcItem As CatalogItem) As CatalogItem
524
563
Dim dsd As DataSourceDefinition = d.Item
525
564
If dsd.CredentialRetrieval = CredentialRetrievalEnum.Store Then
526
565
Console.ForegroundColor = ConsoleColor.Yellow
527
-
Console.WriteLine("You need to re-enter the password for user '" + dsd.UserName + "' in data source '" + d.Name + "' contained in " + result.TypeName + " '" + result.Path + "'")
566
+
Dim warningMsg as String = "You need to re-enter the password for user '" + dsd.UserName + "' in data source '" + d.Name + "' contained in " + result.TypeName + " '" + result.Path + "'"
@@ -710,8 +752,12 @@ Sub MigrateReportSubscriptions(snkReport As CatalogItem, srcReport As CatalogIte
710
752
Dim dsd As DataSourceDefinition = dataRetrievalPlan.Item
711
753
If dsd.CredentialRetrieval = CredentialRetrievalEnum.Store Then
712
754
Console.ForegroundColor = ConsoleColor.Yellow
713
-
Console.WriteLine("You need to re-enter the password for user '" + dsd.UserName + "' in data-driven subscription '" + description + "' contained in report '" + snkReport.Path + "'")
714
-
Console.ResetColor()
755
+
Dim warningMsg as String = "You need to re-enter the password for user '" + dsd.UserName + "' in data-driven subscription '" + description + "' contained in report '" + snkReport.Path + "'"
@@ -745,8 +791,12 @@ Sub MigrateReportSubscriptions(snkReport As CatalogItem, srcReport As CatalogIte
745
791
End If
746
792
Next
747
793
Console.ForegroundColor = ConsoleColor.Yellow
748
-
Console.WriteLine("You need to re-enter the password for user '" + username + "' in file share subscription '" + description + "' contained in report '" + snkReport.Path + "'.")
749
-
Console.ResetColor()
794
+
Dim warningMsg as String = "You need to re-enter the password for user '" + username + "' in file share subscription '" + description + "' contained in report '" + snkReport.Path + "'."
0 commit comments