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-AzureDataFactoryLinkedService

Remove-AzureDataFactoryLinkedService

microsoft.azure.commands.datafactories.dll

Synopsis

Removes a linked service from Data Factory.

Syntax

Remove-AzureDataFactoryLinkedService [-ResourceGroupName] [-DataFactoryName] [-Name] [-Force] [<CommonParameters>]

Remove-AzureDataFactoryLinkedService [-DataFactory] [-Name] [-Force] [<CommonParameters>]

Detailed Description

The Remove-AzureDataFactoryLinkedService cmdlet removes a linked service from Azure 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 a PSDataFactory object. This cmdlet removes a linked service from the data factory that this parameter specifies.

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

True (ByPropertyName)

Accept wildcard characters?

false

-DataFactoryName <String>

Specifies the name of a data factory. This cmdlet removes a linked service from the data factory that this parameter specifies.

Aliases

None

Required?

true

Position

2

Default value

None

Accept pipeline input?

True (ByPropertyName)

Accept wildcard characters?

false

-Force <SwitchParameter>

Indicates that this cmdlet removes a linked service 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 linked service to remove. Name of the linked service.

Aliases

LinkedServiceName

Required?

true

Position

3

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 linked service 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 linked service

This command removes the linked service named LinkedServiceTest from the data factory named WikiADF. This command returns a value of $True.

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

Get-AzureDataFactoryLinkedService
New-AzureDataFactoryLinkedService