Share via


Remove-ActiveSyncDevice (RTM)

Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.

 

Applies to: Exchange Server 2007

The Remove-ActiveSyncDevice cmdlet enables you to remove the mobile device partnership information that you specify from a user's device list that is stored in a mailbox on a computer that is running Microsoft Exchange Server 2007.

Syntax

Remove-ActiveSyncDevice -Identity <MobileDeviceIdParameter> [-DomainController <Fqdn>]

Detailed Description

The Remove-ActiveSyncDevice cmdlet enables you to remove the mobile device partnership information that you specify from a user's device list that is stored in their Exchange mailbox. This cmdlet is useful for removing devices that no longer synchronize successfully with the server.

To run the Remove-ActiveSyncDevice cmdlet, the account you use must be delegated the following:

  • Exchange Server Administrator role and local Administrators group for the target server

For more information about permissions, delegating roles, and the rights that are required to administer Exchange Server 2007, see Permission Considerations.

Parameters

Parameter Required Type Description

Identity

Required

Microsoft.Exchange.Management.Tasks.MobileDeviceIdParameter

This parameter uniquely identifies the specific device partnership that is to be removed.

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

This parameter specifies the domain controller to connect to for Active Directory validation.

Input Types

Return Types

Errors

Error Description

Exceptions

Exceptions Description

Example

The following code example will remove the device partnership for the device WM_JeffHay.

Remove-ActiveSyncDevice -Identity WM_JeffHay