Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Get-AzureDataFactory

Get-AzureDataFactory

microsoft.azure.commands.datafactories.dll

Synopsis

Gets information about Data Factory.

Syntax

Get-AzureDataFactory [-ResourceGroupName] [-Name] [<CommonParameters>]

Detailed Description

The Get-AzureDataFactory cmdlet gets information about data factories in an Azure resource group. If you specify the name of a data factory, this cmdlet gets information about that data factory. If you do not specify a name, this cmdlet gets information about all of the data factories in an Azure resource group.

You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager.

Parameters

-Name <String>

Specifies the name of the data factory about which to get information.

Aliases

None

Required?

false

Position

2

Default value

None

Accept pipeline input?

True (ByPropertyName)

Accept wildcard characters?

false

-ResourceGroupName <String>

Specifies the name of an Azure resource group. This cmdlet gets information about data factories that belong to the group that this parameter specifies.

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

True (ByPropertyName)

Accept wildcard characters?

false

Input Type


Return Type

System.Collections.Generic.List`1[[Microsoft.WindowsAzure.Commands.Utilities.PSDataFactory, Microsoft.WindowsAzure.Commands.Utilities, Version=0.8.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]] Microsoft.WindowsAzure.Commands.Utilities.PSDataFactory

Notes

None

Examples

Example 1: Get all data factories

Displays information about all data factories in the Azure subscription.

                    PS C:\> Get-AzureDataFactory -ResourceGroupName "ADF"
                    DataFactoryName   : WikiADF
                    ResourceGroupName : ADF
                    Location          : WestUS
                    Tags              : {}
                    Properties        : Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryConfiguration

                    DataFactoryName   : WikiADF2
                    ResourceGroupName : ADF
                    Location          : westus
                    Tags              : {}
                    Properties        : Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryConfiguration
                

Example 2: Get a specific data factory

This command displays information about the data factory named WikiADF in the subscription for the resource group named ADF, and then stores it in the $DataFactory variable. Specify the DataFactory parameter in subsequent cmdlets to use the data factory stored in $DataFactory.

                    PS C:\> $DataFactory = Get-AzureDataFactory -ResourceGroupName "ADF" -Name "WikiADF"
                    DataFactoryName   : WikiADF
                    ResourceGroupName : ADF
                    Location          : westus
                    Tags              : {}
                    Properties        : Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryConfiguration
                

New-AzureDataFactory
Remove-AzureDataFactory