Summary
Updates an existing team.
Set-Team
-EntryReturns a team object.
Parameters
Parameter | Type | Required? | Notes |
|---|---|---|---|
Entry | Team object | Yes |
Examples
Update an existing team
This example adds a description to the processing team and outputs the results as JSON.
# Get the team
$team = Get-Team -Id "34e89524-1052-4381-a19a-083a20de9514"
# Enable the team
$team.Description = "Contains employees that perform processing."
# Update the team
$team = Set-Team -Entry $team
Write-Output "Updated team '$($team.Name)' (Id: $($team.Id), # of users: $($team.NumberOfUsers))"
# For debug purposes, convert the entity to output as JSON so we can see the available fields
$jsonOutput = $team | ConvertTo-Json -Depth 10
Write-Output ""
Write-Output "JSON Results:"
# Output the JSON results
Write-Output $jsonOutputExecution results:
Updated team 'Processing' (Id: 34e89524-1052-4381-a19a-083a20de9514, # of users: 0)
JSON Results:
{
"Id": "34e89524-1052-4381-a19a-083a20de9514",
"Name": "Processing",
"Description": "Contains employees that perform processing.",
"IsSystemTeam": false,
"NumberOfUsers": 0,
"TeamUsers": [],
"LinkedUser": null,
"CreatedByFullName": "Max Miller",
"CreatedById": "510e109b-6ff5-4442-9670-cd5e3cd82a7a",
"CreatedOn": "2026-01-20T20:01:51.7395555+00:00",
"CreatedBy": null,
"LastUpdatedByFullName": "Max Miller",
"LastUpdatedById": "510e109b-6ff5-4442-9670-cd5e3cd82a7a",
"LastUpdatedOn": "2026-01-20T20:05:57.7217048+00:00",
"LastUpdatedBy": null
}