Powershell to get empty values of Property TeamsUpdateManagementPolicy

Iron Contributor

Hello

I try to run a Powershell Script that gets the $null values for a Property

Get-CsOnlineUser  | Where-Object -Property TeamsUpdateManagementPolicy -eq $null


But there is no output. Where is the error?
Thanks for your help
Regards
JFM_12 

2 Replies
Hello, how are you?
I tested and it worked for me, did you check if there is actual users with no TeamsUpdateManagementPolicy?
Hello @AndresGorzelany
Unfortunately I did not work but found another solution right now.
Thank you
Have a great day
JFM_12