[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 360
  • Last Modified:

Exchange 2007 IMap4

How can i disable imap4 for all users via the shell?
0
zingab
Asked:
zingab
  • 2
  • 2
1 Solution
 
pr0nd3xtrCommented:
You could try something like:

get-CASMailbox | Set-CASMailbox -ImapEnabled:$false

You can test with a single identity at first:

get-CASMailbox username | Set-CASMailbox -ImapEnabled:$false
0
 
zingabAuthor Commented:
i need to do this for 500 users, how can i do this all at once?
0
 
pr0nd3xtrCommented:
The first line will do the trick for all mailbox-enabled users, the second will work for the single user you specify.
0
 
zingabAuthor Commented:
That script will ONLY affect Imap for the users?
0
 
Jon BrelieSystem ArchitectCommented:
Yes.  But you can/should test it using the methods already provided.
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now