Applies to: Exchange Server 2007
Topic Last Modified: 2007-06-11
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>]
|
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. |
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.
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.
Copy Code | |
---|---|
Remove-ActiveSyncDevice -Identity WM_JeffHay |