H3YY0U
3/26/2020 - 1:29 AM

filter azure users by company name attribute

this will provide a count

$users = (get-AzureADUSer -All $True | ?{ $_.CompanyName -eq 'SAH' }).count