external help file | Module Name | online version | schema |
---|---|---|---|
core-help.xml |
core |
2.0.0 |
Get a list of members for a specific team.
Get-AzDevOpsTeamMember [-Project <Object>] [-TeamId <Guid>] [<CommonParameters>]
Get-AzDevOpsTeamMember [-ProjectId <Guid>] [-TeamId <Guid>] [<CommonParameters>]
This function will return a list of members from a specific team, or list members for all teams in the supplised Project.
PS C:\> Get-AzDevOpsTeamMember -ProjectId d5cf30dd-c965-43f3-9f4e-3dce76ed226a
displayName : Jeffrey Patton
url : https://spsprodeus27.vssps.visualstudio.com/A098ee851-8ad4-482f-834b-e68ea8489c4d/_apis/Identities/636851f0-e884-48a4-962e-f1d1bcc29797
_links : @{avatar=}
id : 636851f0-e884-48a4-962e-f1d1bcc29797
uniqueName : jeffrey@patton-tech.com
imageUrl : https://dev.azure.com/patton-tech/_api/_common/identityImage?id=636851f0-e884-48a4-962e-f1d1bcc29797
descriptor : aad.ZGQwYzI1YzQtNGY3MC03MThkLTgzNWYtYzJkMzlkZDRiNTA0
Get all members of all teams in the project (only one team has a member in this example)
PS C:\> Get-AzDevOpsProject -ProjectId d5cf30dd-c965-43f3-9f4e-3dce76ed226a |Get-AzDevOpsTeamMember -TeamId 49cf33f8-4c32-4fa2-aa67-b8b49a873ea6
displayName : Jeffrey Patton
url : https://spsprodeus27.vssps.visualstudio.com/A098ee851-8ad4-482f-834b-e68ea8489c4d/_apis/Identities/636851f0-e884-48a4-962e-f1d1bcc29797
_links : @{avatar=}
id : 636851f0-e884-48a4-962e-f1d1bcc29797
uniqueName : jeffrey@patton-tech.com
imageUrl : https://dev.azure.com/patton-tech/_api/_common/identityImage?id=636851f0-e884-48a4-962e-f1d1bcc29797
descriptor : aad.ZGQwYzI1YzQtNGY3MC03MThkLTgzNWYtYzJkMzlkZDRiNTA0
Get all members of a specific team in the project (team has only one member in htis example)
A project object as returned from Get-AzDevOpsProject
Type: Object
Parameter Sets: Project
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
A Project Id
Type: Guid
Parameter Sets: ProjectId
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
A Team Id
Type: Guid
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.