适用于 Azure 数据工厂的 Azure PowerShell 示例Azure PowerShell samples for Azure Data Factory

下表包括了适用于 Azure 数据工厂的示例 Azure PowerShell 脚本的链接。The following table includes links to sample Azure PowerShell scripts for Azure Data Factory.

复制数据Copy data
将 blob 从 Azure Blob 存储中的一个文件夹复制到另一个文件夹Copy blobs from a folder to another folder in an Azure Blob Storage 此 PowerShell 脚本将 blob 从 Azure Blob 存储中的一个文件夹复制到同一 Blob 存储中的另一个文件夹。This PowerShell script copies blobs from a folder in Azure Blob Storage to another folder in the same Blob Storage.
将数据从本地 SQL Server 复制到 Azure Blob 存储Copy data from on-premises SQL Server to Azure Blob Storage 此 PowerShell 脚本可从本地 SQL Server 数据库将数据复制到 Azure Blob 存储。This PowerShell script copies data from an on-premises SQL Server database to an Azure blob storage.
批量复制Bulk copy 此 PowerShell 示例脚本将数据从 Azure SQL 数据库中的多个表复制到 Azure SQL 数据仓库。This sample PowerShell script copies data from multiple tables in an Azure SQL database to an Azure SQL data warehouse.
增量复制Incremental copy 将源中的数据初始完全复制到接收器后,此示例 PowerShell 脚本仅从源数据存储将新的或已更新记录加载到接收器数据存储。This sample PowerShell script loads only new or updated records from a source data store to a sink data store after the initial full copy of data from the source to the sink.
转换数据Transform data
使用 Spark 群集转换数据Transform data using a Spark cluster 此 PowerShell 脚本通过在 Spark 群集上运行程序来转换数据。This PowerShell script transforms data by running a program on a Spark cluster.
将 SSIS 包直接迁移到 AzureLift and shift SSIS packages to Azure
创建 Azure-SSIS 集成运行时Create Azure-SSIS integration runtime 此 PowerShell 脚本预配 Azure-SSIS 集成运行时,以便在 Azure 中运行 SQL Server Integration Services (SSIS) 包。This PowerShell script provisions an Azure-SSIS integration runtime that runs SQL Server Integration Services (SSIS) packages in Azure.