Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 8583

Get-AdUser and the msExchHideFromAddressLists attribute

$
0
0

Hi,

I'm trying to run a query that will show me all users in the Domain that have there showInAddressBook attribute set to null and the msExchHideFromAddressLists set to True. I'm having trouble querying the msExchHideFromAddressLists attribute.

This is what im using:

Get-ADuser -filter {(-not showInAddressBook -like "*") -and (msExchHideFromAddressLists -eq True)} 

Thanks in advance for your help


Viewing all articles
Browse latest Browse all 8583

Trending Articles