50, 51 | Switch-VSTeamWorkItemParent -ParentId 80This command replaces the parent in workitems with ID 50 and 51 and assign work item 80 as parent If any of the IDs provided don't have a parent, they shall remain they are.
Switch-VSTeamWorkItemParent Id 50,51 -ParentId 80 -AddParentThis command replaces the parent in workitems with ID 50 and 51 and assign work item 80 as parent If any of the IDs provided don't have a parent, the work item 80 is assigned
IDs of the elements whose parent is to be replaced
Type: int[]
Required: True
Position: 0
Accept pipeline input: true (ByPropertyName, ByValue)Id of the new parent work item
Type: int
Required: True
Position: 1If present, if the work item currently doen't have a parent, it will assign $ParentId as parent If not present, if the work item currently doen't have a parent, it shall remain as is.
Type: switch
Required: False
Position: 3