Get-ProjectMember

Introduction

Le cdmlet Get-ProjectMember permet la liste des membres d'un projet configuré dans Team Foundation Server et Windows Sharepoint Services

La récupération d'un serveur TFS ce fait grâce au CmdLet Get-TFS.

Paramètres

Nom Description Exemple
-tfs Serveur TFS récupérer avec Get-TFS $tfs = Get-TFS -url http://colmar:8080
-ProjectName Nom du preojet

Exemple

========================================================
Windows PowerShell
PowerShell for Team System
By Noham Choulant http://choulant.blogspot.com
========================================================

PsTFS > : $tfs = get-tfs colmar

PsTFS > : $listeMembers = Get-ProjectMember -tfs $tfs -ProjectName Test

PsTFS > : $listeMembers


TypeMember        : TFS
AccountName       :
Deleted           : False
Description       : Members of this group can add, modify, and delete items within the team project.
DisplayName       : Contributors
DistinguishedName :
Domain            : vstfs:///Classification/TeamProject/3bbdde19-7b0d-4e35-b966-c1affca981ca
MailAddress       :
MemberOf          : {S-1-9-1551374245-1204400969-2402986413-2179408616-0-0-0-0-3}
SecurityGroup     : True
Sid               : S-1-9-1551374245-1204400969-2402986413-2179408616-1-1704393280-619977283-3200926925-3406433003
SpecialType       : Generic
Type              : ApplicationGroup
Members           : {}

...

Exemple avec Format-Table de la liste


PsTFS > : $listeMembers | Format-Table

    TypeMember AccountName           Deleted Description    DisplayName    DistinguishedN Domain         MailAddress    MemberOf        SecurityGroup
                                                                           ame
    ---------- -----------           ------- -----------    -----------    -------------- ------         -----------    --------        -------------
           TFS                         False Members of ... Contributors                  vstfs:///Cl...                {S-1-9-1551...           True
           TFS                         False Members of ... Build Services                vstfs:///Cl...                {S-1-9-1551...           True
           TFS                         False Members of ... Project Adm...                vstfs:///Cl...                {S-1-9-1551...           True
           TFS                         False Members of ... Readers                       vstfs:///Cl...                {S-1-9-1551...           True
           Wss Full Control            False Has full co... Full Control                                                                        False
           Wss Design                  False Can view, a... Design                                                                              False
           Wss Contribute              False Can view, a... Contribute                                                                          False
           Wss Read                    False Can view only. Read                                                                                False
           Wss Limited Access          False Can view sp... Limited Access                                                                      False

PsTFS > :

Last edited Jan 10, 2009 at 9:55 AM by pc152, version 1

Comments

No comments yet.