ezzauk Posted September 25, 2008 Posted September 25, 2008 (edited) Hi all need some help on a powershell script for exch 2007. I need the script to serach through all mail-enabled accounts where there department is Students and the HiddenFromAddressListsEnabled is false. iv got this so far but not too sure if its right: Get-user -resultsize 15000 | where-object {$_.RecipientType –eq “Usermailbox” -and $_.department –eq “Students” -and $_.HiddenFromAddressListsEnabled -eq $False} | Set-Mailbox -HiddenFromAddressListsEnabled $true Any help would be great. Ezza. Edited September 25, 2008 by ezzauk
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now