Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Wed, 2 Jan 2008 15:08:04 +0000 (UTC),    group: microsoft.public.exchange.development        back       


RE: How to view Diabled Mailboxes in E2K7   
Hello Cyber,

> Hi there,
> 
> After alot of testing on my system I came to know
> that
> 
> after disabling a mailbox this mailbox  will
> be displayed in "Disconnected Mailbox" in Exchange Management Console
> only if this mailbox is accessed once ( ie. user logged in to that
> mailbox atleast once). All the mailboxes which are just created and
> haven't been logged in atleast once , will not be displayed in
> "Disconnected Mailbox" in EMC after being Disabled (either via Disable
> button on EMC or via Disable-mailbox Cmdlet in PowerShell).
> 
> Worse is that if we Disable a newly created
> mailbox (which has not been logged in (accessed) atleast once ) then
> we can't Enable  that mailbox again via Connect-mailbox Cmdlet (Nor
> this mailbox is displayed in EMC as I mentioned above). This way  that
> disabled mailbox is lost permanently.
> 
> Now I have two quries about it
> 
> 1. Is there a way to programatically view all
> the disconnected mailboxes ?
> 
> 2. Is there a  way to programatically log in to
> a mailbox ( bcoz Exchange doesn't create a mailbox in mailbox store
> untill this mailbox is logged in).
> 
> best regards
> 
> "Cyber Friend" wrote:
> 
>> Hi there,
>> 
>> I have disbaled a mailbox using the PowerShell Command
>> 
>> Disable-mailbox  -identity  dev@domain1.com
>> 
>> Now I want to see all disabled mailboxes, How to do that ?
>> 
>> I can't see this disabled mailbox in Disconnected Mailboxes in EMC.
>> 
>> best regards,
>> 
>> -- Cyber Friend

Laceq;

You can see all disconnected mailboxes via powershell:

Get-MailboxStatistics -Server <server name> | where { $_.DisconnectDate -ne 
$null } | select DisplayName,DisconnectDate

Since you actually never created a mailbox, it won't show - all you did was 
mail enable an Active Directory object.

I would suggest that if it is somehow important in your organization to create 
and delete mailboxes like this, that you send the new mail enabled AD object 
a mail message, which will create the mailbox, and then delete the mailbox.

Now it will show in Disconnected Mailboxes.

Karl
date: Wed, 2 Jan 2008 15:08:04 +0000 (UTC)   author:   Karl Mitschke

Re: How to view Diabled Mailboxes in E2K7   
... or after mailbox creation, use the following command:
Test-MapiConnectivity "John Doe"

-- 
Bharat Suneja
MVP - Exchange
www.zenprise.com
NEW blog location:
exchangepedia.com/blog
----------------------------------

"Karl Mitschke"  wrote in message 
news:7063857f218678ca1b2dbc63324d@msnews.microsoft.com...
> Hello Cyber,
>
>> Hi there,
>>
>> After alot of testing on my system I came to know
>> that
>>
>> after disabling a mailbox this mailbox  will
>> be displayed in "Disconnected Mailbox" in Exchange Management Console
>> only if this mailbox is accessed once ( ie. user logged in to that
>> mailbox atleast once). All the mailboxes which are just created and
>> haven't been logged in atleast once , will not be displayed in
>> "Disconnected Mailbox" in EMC after being Disabled (either via Disable
>> button on EMC or via Disable-mailbox Cmdlet in PowerShell).
>>
>> Worse is that if we Disable a newly created
>> mailbox (which has not been logged in (accessed) atleast once ) then
>> we can't Enable  that mailbox again via Connect-mailbox Cmdlet (Nor
>> this mailbox is displayed in EMC as I mentioned above). This way  that
>> disabled mailbox is lost permanently.
>>
>> Now I have two quries about it
>>
>> 1. Is there a way to programatically view all
>> the disconnected mailboxes ?
>>
>> 2. Is there a  way to programatically log in to
>> a mailbox ( bcoz Exchange doesn't create a mailbox in mailbox store
>> untill this mailbox is logged in).
>>
>> best regards
>>
>> "Cyber Friend" wrote:
>>
>>> Hi there,
>>>
>>> I have disbaled a mailbox using the PowerShell Command
>>>
>>> Disable-mailbox  -identity  dev@domain1.com
>>>
>>> Now I want to see all disabled mailboxes, How to do that ?
>>>
>>> I can't see this disabled mailbox in Disconnected Mailboxes in EMC.
>>>
>>> best regards,
>>>
>>> -- Cyber Friend
>
> Laceq;
>
> You can see all disconnected mailboxes via powershell:
>
> Get-MailboxStatistics -Server <server name> | where { 
> $_.DisconnectDate -ne $null } | select DisplayName,DisconnectDate
>
> Since you actually never created a mailbox, it won't show - all you did 
> was mail enable an Active Directory object.
>
> I would suggest that if it is somehow important in your organization to 
> create and delete mailboxes like this, that you send the new mail enabled 
> AD object a mail message, which will create the mailbox, and then delete 
> the mailbox.
>
> Now it will show in Disconnected Mailboxes.
>
> Karl
>
>
date: Wed, 2 Jan 2008 07:10:46 -0800   author:   Bharat Suneja [MVP]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us