# List all users hidden from the GAL

```
Get-ADUser -Filter {msExchHideFromAddressLists -eq "TRUE"} |Select-Object UserPrincipalName
```

<div class="code-toolbar" id="bkmrk-copy-7"></div>[Original Article](https://www.tachytelic.net/2017/11/office-365-hide-a-user-from-gal-ad-sync/)