Hi,
I run the following script to export the users' list and their information. Is there a way to filter out only based on the county multiple usage locations (example: IN, US, UK, DE and JP).?
$Users = invoke-command -ScriptBlock {(Get-CsOnlineUser -Filter {(AssignedPlan -eq 'Teams') -and (accountenabled -eq $True)} -ResultSize 50000) | Where-Object {$_.SoftDeletionTimeStamp -eq $null} | Select-Object `
UserPrincipalName, SipAddress, OnPremLineUri, LineUri, City}
thank you,
Regards,
MS