< Back

Get-AzureRmDataFactoryV2

Tue Jan 29, 2019 9:41 pm

NAME Get-AzureRmDataFactoryV2



SYNOPSIS

Gets information about Data Factory.





SYNTAX

Get-AzureRmDataFactoryV2 [-ResourceGroupName] <String> [[-Name] <String>] [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]





DESCRIPTION

The Get-AzureRmDataFactoryV2 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.





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



-Name <String>

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



Required? false

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 gets information about data factories that belong to the group this parameter

specifies.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

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

System.String







OUTPUTS

System.Collections.Generic.List`1[[Microsoft.Azure.Commands.DataFactoryV2.Models.PSDataFactory, Microsoft.Azure.Commands.DataFactoryV2,

Version=0.1.9.0, Culture=neutral, PublicKeyToken=null]]

Microsoft.Azure.Commands.DataFactoryV2.Models.PSDataFactory





NOTES





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



Example 1: Get all data factories



PS C:\\> Get-AzureRmDataFactoryV2 -ResourceGroupName "ADF"



DataFactoryName : WikiADF

DataFactoryId : /subscriptions/3e8e61b5-9a7d-4952-bfae-545ab997b9ea/resourceGroups/adf/providers/Microsoft.DataFactory/factories/wikiadf

ResourceGroupName : ADF

Location : EastUS

Tags : {}

Identity : Microsoft.Azure.Management.DataFactory.Models.FactoryIdentity

ProvisioningState : Succeeded



DataFactoryName : WikiADF2

DataFactoryId : /subscriptions/3e8e61b5-9a7d-4952-bfae-545ab997b9ea/resourceGroups/adf/providers/Microsoft.DataFactory/factories/wikiadf2

ResourceGroupName : ADF

Location : EastUS

Tags : {}

Identity :

ProvisioningState : Succeeded



Displays information about all data factories in the Azure subscription.





Example 2: Get a specific data factory



PS C:\\> $DataFactory = Get-AzureRmDataFactoryV2 -ResourceGroupName "ADF" -Name "WikiADF"



DataFactoryName : WikiADF

DataFactoryId : /subscriptions/3e8e61b5-9a7d-4952-bfae-545ab997b9ea/resourceGroups/adf/providers/Microsoft.DataF

actory/factories/wikiadf

ResourceGroupName : ADF

Location : EastUS

Tags : {}

Identity : Microsoft.Azure.Management.DataFactory.Models.FactoryIdentity

ProvisioningState : Succeeded



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.







RELATED LINKS

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

Set-AzureRmDataFactoryV2Dataset

Remove-AzureRmDataFactoryV2