In a previous post, I explained when you should and should not remove Lab Management resources like (Templates, VMs, Environments). For more information click here.
In this post, I will show and explain the different options for TFSConfig Lab /Delete switch.
[What will happen if we run the following command:]
1
tfsconfig lab /delete /collectionName:DefaultCollection
This will remove all lab management resources from the collection but it will leave them in SCVMM, see the following video:
[What will happen if we run the following++command with /External switch:]
1
tfsconfig lab /delete /collectionName:DefaultCollection /external
This will remove all lab management resources from the collection and also remove them from SCVMM and the Hyper-V host, see the following video:
For more information about TFSConfig lab /delete command, click here