In Teams PowerShell Modules 3.0.0 and above OnPremLineURI will only refer to the LineURI set via OnPrem AD.
#Can you filter online contacts on the new version of skype windows#
The Filter parameter uses the same filtering syntax that is used by the Where-Object cmdlet.įor example, a filter that returns only users who have been enabled for Enterprise Voice would look like this, with EnterpriseVoiceEnabled representing the Active Directory attribute, -eq representing the comparison operator (equal to), and $True (a built-in Windows PowerShell variable) representing the filter value: ParametersĮnables you to limit the returned data by filtering on specific attributes.įor example, you can limit returned data to users who have been assigned a specific voice policy, or users who have not been assigned a specific voice policy.
![can you filter online contacts on the new version of skype can you filter online contacts on the new version of skype](https://9to5mac.com/wp-content/uploads/sites/6/2015/10/skype-update-3d-touch-filters.png)
To accomplish the task, the filter string is first constructed and resolved locally and then used by the Get-CsOnlineUser cmdlet. The commands shown in Example 6 filters all the online users with a certain TeamsMeetingPolicy assigned using a variable as filter input. PS C:\> Get-CsOnlineUser -Filter $filterString Get-CsOnlineUser -Filter "' -f $MeetingPolicy However, if you have multiple you can return users from a specified tenant by using the Filter parameter and a command similar to this:
![can you filter online contacts on the new version of skype can you filter online contacts on the new version of skype](https://s15543.pcdn.co/wp-content/uploads/2020/02/outlook-2.png)
Note that the Get-CsOnlineUser cmdlet does not have a TenantId parameter that means you cannot use a command similar to this in order to limit the returned data to users who have accounts with a specific Microsoft Teams or Skype for Business Online tenant: The returned information includes standard Active Directory account information (such as the department the user works in, his or her address and phone number, etc.) as well as Skype for Business Server 2015 specific information: the Get-CsOnlineUser cmdlet returns information about such things as whether or not the user has been enabled for Enterprise Voice and which per-user policies (if any) have been assigned to the user. The Get-CsOnlineUser cmdlet returns information about users who have accounts homed on Microsoft Teams or Skype for Business Online. In this article Syntax Get-Cs Online User Returns information about users who have accounts homed on Microsoft Teams or Skype for Business Online.