1. Below command you can get the list of commands
Command : C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional>tf workspaces
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional>tf workspaces /computer:* /format:detailed /collection:https://dev.azure.com/yourProjctName
To get a specific workspace details
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional>tf workspaces /computer:ERP-DEV3-1 /format:detailed /collection:https://dev.azure.com/yourProjctName
To get the availble configurations with the owner
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional>tf workspaces /computer:ERP-DEV3-1 /format:detailed /collection:https://dev.azure.com/investindia /owner:"WS Owner"
To delete the workspace
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional>tf workspace /server:https://investindia.visualstudio.com/defaultcollection /delete "WorkspaceName;Owner Name"