Forum Discussion
JFM_12
Aug 04, 2023Iron Contributor
Powershell to export all members and team displayname
Hell I am looking for a powershell script that exports - Displayname of Team - Members/Owners of that Team I have the GroupID of that Team. Do you have a hint. Regards JFM_12
Meghana-MSFT
Aug 04, 2023Bronze Contributor
JFM_12 -
Please refer below documents to Get Team details and Team user details
- Get-TeamUser (MicrosoftTeamsPowerShell) | Microsoft Learn
- Get-Team (MicrosoftTeamsPowerShell) | Microsoft Learn
Thanks,
Meghana
----------------------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.
JFM_12
Aug 04, 2023Iron Contributor
Hi Meghana
I know both commands but I am looking for script that exports me the name of the team and the members on the same csv.
Regards
JFM_12
I know both commands but I am looking for script that exports me the name of the team and the members on the same csv.
Regards
JFM_12
- Meghana-MSFTAug 07, 2023Bronze Contributor
JFM_12 -
For question related to Microsoft PowerShell, please post them on Microsoft PowerShell.