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

适用于:是 Azure 数据工厂否 Azure Synapse Analytics(预览版)APPLIES TO: yesAzure Data Factory noAzure Synapse Analytics (Preview)

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

ScriptScript 说明Description
复制数据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 SQL Server to Azure Blob Storage 此 PowerShell 脚本将数据从 SQL Server 数据库复制到 Azure Blob 存储。This PowerShell script copies data from a SQL Server database to an Azure blob storage.
大容量复制Bulk copy 此 PowerShell 示例脚本将数据从 Azure SQL 数据库中某个数据库的多个表复制到 Azure Synapse Analytics(以前称为 SQL 数据仓库)。This sample PowerShell script copies data from multiple tables in a database in Azure SQL Database to Azure Synapse Analytics (formerly 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.