Teams - PowerShell - How to retrieve IP Address and Device name for Teams Devices

Darko Kljajic 31 Reputation points
2023-04-12T13:17:35.51+00:00

Hi, Get-MgTeamworkDevice provide most of device properties visible in Teams Admin console but not all. How to get Teams Device IP Address and Device name property that are visible in Teams Admin Console using PowerShell? User's image

Thank you in advance. Regards,

Windows for business | Windows Server | User experience | PowerShell
Microsoft Security | Microsoft Graph
Microsoft Teams | Microsoft Teams for business | Other
{count} votes

1 answer

Sort by: Most helpful
  1. risolis 8,741 Reputation points
    2023-04-13T03:17:58.6833333+00:00

    Hello @Darko Kljajic Thank you for posting this concern on this community space. I have read your whole case scenario description and I just wanted to share my 2 cents down below:

    • Get-CsOnlineUser | Where-Object { $_.LineURI -notlike $null } | select DisplayName,UserPrincipalName, LineURI, OnPremLineURI, Office | Export-Csv -NoTypeInformation -Path C:\Users\user001\Desktop\Powershell\userinventory.csv You can modify it as the way you require it. Looking forward to your feedback, Cheers, Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.