--- title: "Add-Team" slug: "scripting-add-team" updated: 2026-01-20T20:07:31Z published: 2026-01-20T20:07:31Z canonical: "help.agilityblue.com/scripting-add-team" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.agilityblue.com/llms.txt > Use this file to discover all available pages before exploring further. # Add-Team ## Summary Creates a new team. ```powershell Add-Team    -Entry ``` Returns the created team object. ## Parameters | Parameter | Type | Required? | Notes | | --- | --- | --- | --- | | Entry | Team object | Yes | | ## Examples ### Create a new team ```powershell # Create a team object with required fields $team = @{    Name = "Processing" } $team = Add-Team -Entry $team # Output some information to help indicate that the team was created Write-Output "Created team '$($team.Name)' (Id: $($team.Id), # of users: $($team.NumberOfUsers))" # For debug purposes, convert the data to output as JSON so we can see all the fields Write-Output "" Write-Output "JSON Results:" $jsonOutput = $team | ConvertTo-Json -Depth 10 # Output the data Write-Output $jsonOutput ``` Execution results: ```json Created team 'Processing' (Id: 34e89524-1052-4381-a19a-083a20de9514, # of users: 0) JSON Results: {  "Id": "34e89524-1052-4381-a19a-083a20de9514",  "Name": "Processing",  "Description": null,  "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:01:51.7395555+00:00",  "LastUpdatedBy": null } ```