You'll be looking for the WorkItemStore.GetWorkItem().Fields["Fieldname"]
in the TFS Client Object Model or the similar functionality in the rest API : depending on your TFS version and source platform.
Since Powershell can call into .NET Objects you can use the TFS Client Object Model. OR you can use the Invoke-RestMethod to interact with the REST APIs.
If you're looking for a more powershell aligned method, look at the TFSCmdLets . It returns a TFS Client Object Model instance of the WorkItem class, so the first example code will provide more information on what to expect.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.