PsDataFactory is a PowerShell module to generate DataFactory pipelines and datasets.
Removes a dependency from a pipeline activity.
Remove-AdfDependency [-Activity] <PSObject> [-OnActivity] <PSObject> [-ProgressAction <ActionPreference>]
[<CommonParameters>]
Removes the dependency on a specified predecessor activity from the given activity’s dependsOn collection. If the activity has no remaining dependencies after removal, the dependsOn array is left empty.
$activity | Remove-AdfDependency -OnActivity $predecessorActivity
Removes the dependency on the specified predecessor activity.
The pipeline activity from which to remove the dependency.
Type: PSObject
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
The predecessor activity to remove as a dependency.
Type: PSObject
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
https://abbgrade.github.io/PsDataFactory/docs/Remove-AdfDependency.html