Discussion:
Disable pop and imap accounts for all users
(too old to reply)
Miha
2008-09-11 10:10:42 UTC
Permalink
Hi
How can I disable all pop and imap accounts for all users in my exchange
organization?
I'm trying with set-casmailbox but this only disables it for a single user?
Regards,Miha
Mark Arnold [MVP]
2008-09-11 11:03:43 UTC
Permalink
Post by Miha
Hi
How can I disable all pop and imap accounts for all users in my exchange
organization?
I'm trying with set-casmailbox but this only disables it for a single user?
Regards,Miha
If you want to disable it for everyone you probably should be stopping
and disabling the service. No point having a potential security hole
open when no legitimate users can access it.
Miha
2008-09-11 11:25:28 UTC
Permalink
Yes you're right, but I need to enable it since our CIO wants because some
of our users have mobile devices that only support POP3.
So if I enable pop3 service, I want to disable pop3 access on all mailboxes
and then enable it for a few users?
I'm looking for a powerscript that will do that.
Regards,Miha
Post by Mark Arnold [MVP]
Post by Miha
Hi
How can I disable all pop and imap accounts for all users in my exchange
organization?
I'm trying with set-casmailbox but this only disables it for a single user?
Regards,Miha
If you want to disable it for everyone you probably should be stopping
and disabling the service. No point having a potential security hole
open when no legitimate users can access it.
Miha
2008-09-11 11:30:45 UTC
Permalink
Thanks have found it
get-casmailbox | where{$_.popEnabled -eq "True"} |
set-casmailbox -popEnabled:$false
Regards,Miha
Post by Miha
Yes you're right, but I need to enable it since our CIO wants because some
of our users have mobile devices that only support POP3.
So if I enable pop3 service, I want to disable pop3 access on all
mailboxes and then enable it for a few users?
I'm looking for a powerscript that will do that.
Regards,Miha
Post by Mark Arnold [MVP]
Post by Miha
Hi
How can I disable all pop and imap accounts for all users in my exchange
organization?
I'm trying with set-casmailbox but this only disables it for a single user?
Regards,Miha
If you want to disable it for everyone you probably should be stopping
and disabling the service. No point having a potential security hole
open when no legitimate users can access it.
andy webb
2008-09-13 04:36:39 UTC
Permalink
oh, 2 bits.

much more elegant.
Post by Mark Arnold [MVP]
Post by Miha
Hi
How can I disable all pop and imap accounts for all users in my exchange
organization?
I'm trying with set-casmailbox but this only disables it for a single user?
Regards,Miha
If you want to disable it for everyone you probably should be stopping
and disabling the service. No point having a potential security hole
open when no legitimate users can access it.
andy webb
2008-09-13 03:43:14 UTC
Permalink
get_mailbox | set-casmailbox perhaps?
Post by Miha
Hi
How can I disable all pop and imap accounts for all users in my exchange
organization?
I'm trying with set-casmailbox but this only disables it for a single user?
Regards,Miha
Loading...