Skip to content

Commit 655e98b

Browse files
committed
delete resource group
1 parent 1766bea commit 655e98b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/data-factory/quickstart-create-data-factory-powershell.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,12 +448,12 @@ The pipeline automatically creates the output folder in the adftutorial blob con
448448
## Clean up resources
449449
You can clean up the resources that you created in the Quickstart in two ways. You can delete the [Azure resource group](../azure-resource-manager/resource-group-overview.md), which includes all the resources in the resource group. If you want to keep the other resources intact, delete only the data factory you created in this tutorial.
450450
451-
Run the following command to delete the entire resource group:
451+
Deleting a resource group deletes all resources including data factories in it. Run the following command to delete the entire resource group:
452452
```powershell
453453
Remove-AzureRmResourceGroup -ResourceGroupName $resourcegroupname
454454
```
455455

456-
Run the following command to delete only the data factory:
456+
If you want to delete just the data factory, not the entire resource group, run the following command:
457457

458458
```powershell
459459
Remove-AzureRmDataFactoryV2 -Name $dataFactoryName -ResourceGroupName $resourceGroupName

0 commit comments

Comments
 (0)