< Back

New-AzureRmDataFactory

Tue Jan 29, 2019 9:41 pm

NAME New-AzureRmDataFactory



SYNOPSIS

Creates a data factory.





SYNTAX

New-AzureRmDataFactory [-ResourceGroupName] <String> [-Name] <String> [-Location] <String> [[-Tag] <Hashtable>] [-DefaultProfile

<IAzureContextContainer>] [-Force] [-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

The New-AzureRmDataFactory cmdlet creates a data factory with the specified resource group name and location.



Perform these operations in the following order:



- Create a data factory.



- Create linked services.



- Create datasets.



- Create a pipeline.





PARAMETERS

-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Force [<SwitchParameter>]

Indicates that this cmdlet replaces an existing data factory without prompting you for confirmation.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-Location <String>

Specifies the location for the data factory, such as WestUS or EastUS. Only WestUS is currently supported.



Required? true

Position? 2

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Name <String>

Specifies the name of the data factory to create.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>

Specifies the name of an Azure resource group. This cmdlet creates a data factory that belongs to the group that this parameter specifies.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Tag <Hashtable>

The tags of the data factory.



Required? false

Position? 3

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value False

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 (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.WindowsAzure.Commands.Utilities.PSDataFactory







NOTES





* Keywords: azure, azurerm, arm, resource, management, manager, data, factories



Example 1: Create a data factory



PS C:\\>New-AzureRmDataFactory -ResourceGroupName "ADF" -Name "WikiADF" -Location "WestUS"

DataFactoryName : WikiADF

ResourceGroupName : ADF

Location : WestUS

Tags : {}

Properties : Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryConfiguration



This command creates a data factory named WikiADF in the resource group named ADF in the WestUS location.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... atafactory

Get-AzureRmDataFactory

Remove-AzureRmDataFactory