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
 

Remove-AzureDataFactory

Remove-AzureDataFactory

microsoft.azure.commands.datafactories.dll

Synopsis

Removes a data factory.

Syntax

Remove-AzureDataFactory [-ResourceGroupName] [-Name] [-Force] [<CommonParameters>]

Remove-AzureDataFactory [-DataFactory] [-Force] [<CommonParameters>]

Detailed Description

The Remove-AzureDataFactory cmdlet removes a data factory.

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

Parameters

-DataFactory <PSDataFactory>

Specifies the PSDataFactory object to remove.

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

True (ByPropertyName)

Accept wildcard characters?

false

-Force <SwitchParameter>

Indicates that this cmdlet removes a data factory without prompting you for confirmation.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Name <String>

Specifies the name of the data factory to remove.

Aliases

DataFactoryName

Required?

true

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 removes a data factory from 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.Boolean

Notes

None

Examples

Example 1: Remove a data factory

This command removes the data factory named WikiADF from the resource group named ADF. This command returns a value of $True.

                    PS C:\> Remove-AzureDataFactory -Name "WikiADF" -ResourceGroupName "ADF"
                    Confirm
                    Are you sure you want to remove data factory 'WikiADF' in resource group 'ADF'?
                    [Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"): Y
                    True
                

Get-AzureDataFactory
New-AzureDataFactory