Options for Deleting Mailboxes in Windows PowerShell in Live@edu

 

Applies to: Live@edu

Topic Last Modified: 2013-01-17

 

By default, when you delete a cloud-based mailbox by using Windows PowerShell, the mailbox and the associated Microsoft ID are removed from use. So what happens to the mailbox and the Microsoft ID?

  • The mailbox is moved into a Deleted Objects container, which makes it inaccessible by users using any mail client. After 30 days, the mailbox is permanently deleted.
  • The Window Live ID that's associated with the deleted mailbox is removed from use and is inaccessible.

When you delete a mailbox in Windows PowerShell, you effectively remove the user's access to the following:

  1. Data associated with the user’s Microsoft ID, such as Xbox Live points and Zune points
  2. Data on Microsoft services, such as Outlook Live, SkyDrive, and Messenger

What if you don't like this default behavior? For example, what if you want to delete the user's mailbox but still allow the user to use the associated Microsoft ID?

You can use the Remove-Mailbox cmdlet in Windows PowerShell to implement the following options.

 

Remove the mailbox and the associated Microsoft ID

This is the default behavior when you delete a mailbox in Windows PowerShell.

Remove the mailbox and keep the associated Microsoft ID

This allows the user to keep using the Microsoft ID.

Before you begin

To learn how to install and configure Windows PowerShell and connect to the service, see Use Windows PowerShell in Exchange Online.

Remove the mailbox and the associated Microsoft ID

Run the following command:

Remove-Mailbox <Identity>

For example, to remove the mailbox and the associated Microsoft ID of a user named Tamara Johnston, run the following command:

Remove-Mailbox "Tamara Johnston"

Back to top

Remove the mailbox and keep the associated Microsoft ID

Run the following command:

Remove-Mailbox <Identity> -KeepWindowsLiveID

For example, to remove the mailbox and keep the associated Microsoft ID of a user named Tamara Johnston, run the following command:

Remove-Mailbox "Tamara Johnston" -KeepWindowsLiveID

Back to top

Things to consider

  • Typically, a deleted mailbox is visible when you run the Get-RemovedMailbox cmdlet on the Deleted Mailboxes page in the Exchange Control Panel. To access the Deleted Mailboxes page, navigate to Manage My Organization > Users & Groups > Mailboxes > Deleted Mailboxes Deleted Mailboxes.
    If a deleted mailbox isn't recoverable, it doesn’t appear on the list. Under what circumstances isn't a mailbox recoverable? See Deleted Mailboxes in Live@edu.
  • To recover a deleted mailbox, see the following topics:
  • When you delete a mailbox and keep the Microsoft ID by using the Remove-Mailbox cmdlet and the KeepWindowsLiveID parameter, you can associate the Microsoft ID with a new mailbox. See Create a New Mailbox for an Unassociated User ID in Live@edu.
  • When you delete a mailbox and don't keep the Microsoft ID, you can recover the associated Microsoft ID when you recover the deleted mailbox. However, you must change the password when you do this.
 
Related help topics
Loading...
No resources were found.