Summary
Retrieves an existing team user.
Get-TeamUser
-IdReturns a team user object.
Parameters
Parameter | Type | Required? | Notes |
|---|---|---|---|
Id | Int32 | Yes | The team user id. |
Examples
Get an existing team user
This example retrieves a specific team user and outputs it as JSON.
# Retrieve a specific team user by id
$teamUser = Get-TeamUser -Id 10
Write-Output "Retrieved user '$($teamUser.UserFullName)' of team '$($teamUser.TeamName)' (Id: #$($teamUser.TeamUserId))"
# For debug purposes, convert the entity to output as JSON so we can see the available fields
Write-Output ""
Write-Output "JSON Results:"
$jsonOutput = $teamUser | ConvertTo-Json -Depth 10
# Output the entity
Write-Output $jsonOutputExecution results:
Retrieved user 'Max Miller' of team 'Processing' (Id: #10)
JSON Results:
{
"TeamUserId": 10,
"TeamId": "34e89524-1052-4381-a19a-083a20de9514",
"UserId": "08077d23-bb13-4727-b76d-ab8fdf9d870f",
"Team": null,
"TeamName": "Processing",
"User": null,
"UserFullName": "Max Miller",
"UserEmail": "mmiller@agilityblue.com",
"UserActive": true,
"CreatedByFullName": "Max Miller",
"CreatedById": "510e109b-6ff5-4442-9670-cd5e3cd82a7a",
"CreatedOn": "2026-01-20T20:13:48.6160196+00:00",
"CreatedBy": null,
"LastUpdatedByFullName": "Max Miller",
"LastUpdatedById": "510e109b-6ff5-4442-9670-cd5e3cd82a7a",
"LastUpdatedOn": "2026-01-20T20:13:48.6160196+00:00",
"LastUpdatedBy": null
}