TFSConfig Lab /Delete Command

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:

[code language=”XML”]

tfsconfig lab /delete /collectionName:DefaultCollection 

[/code]

This will remove all lab managements resources from the collection but it will leave them in SCVMM, see the following video:

[youtube=”http://youtu.be/AGxtxDjU9P8″]

What will happen if we run the following command with /External switch:

[code language=”XML”]

tfsconfig lab /delete /collectionName:DefaultCollection /external

[/code]

This will remove all lab managements resources from the collection and also remove them from SCVMM and the Hyper-V host, see the following video:

[youtube=”http://youtu.be/HiS5VLPjsRo”]

For more information about TFSConfig lab /delete command, click here

Share This: