+ Post New Thread
Results 1 to 1 of 1
Windows Thread, Exchange 2007 Powershell Help in Technical; Hi all need some help on a powershell script for exch 2007. I need the script to serach through all ...
  1. #1
    ezzauk's Avatar
    Join Date
    Jul 2007
    Location
    Redditch
    Posts
    109
    Thank Post
    18
    Thanked 9 Times in 9 Posts
    Rep Power
    17

    Question Exchange 2007 Powershell Help

    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.
    Last edited by ezzauk; 25th September 2008 at 09:27 PM.

SHARE:
+ Post New Thread

Similar Threads

  1. Exchange 2003 and Exchange 2007
    By faza in forum How do you do....it?
    Replies: 15
    Last Post: 8th April 2009, 10:15 AM
  2. Replies: 0
    Last Post: 12th September 2008, 09:34 AM
  3. Upgrading exchange 2003 to Exchange 2007
    By ful56_uk in forum Windows
    Replies: 1
    Last Post: 15th April 2008, 08:36 AM
  4. Replies: 0
    Last Post: 24th January 2008, 02:58 PM
  5. Exchange 2007 sp1 just killed my exchange
    By everton4europe in forum Windows
    Replies: 3
    Last Post: 16th January 2008, 05:01 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •