how to remove Active Device Partnetship in Exchagne 2010.

am230089
am230089 used Ask the Experts™
on
How to remove active Partneship in Exchagne 2010.
When i am running it is giveing me the error .

I am typing this commad

"Remove-ActiveSyncDevice -Identity ajay"
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
you need to run below command:

Remove-ActiveSyncDevice -Identity Username

Refer:http://technet.microsoft.com/en-us/library/bb125032.aspx
Commented:
could you please write the error you are getting?

Please check the below URL:

http://www.powershellcommunity.org/Forums/tabid/54/aft/6442/Default.aspx
Alan HardistyCo-Owner
Top Expert 2011
Commented:
You can also login to OWA as the user and then delete the partnership via there.

http://blogs.technet.com/b/exchange/archive/2007/05/30/3402915.aspx
C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

Author

Commented:
When i have giving -identity it is giveing active device **** can't be found,.
When i using GUID it is working ?
I am using Excahgne2010SP2
Alan HardistyCo-Owner
Top Expert 2011

Commented:
Use OWA!

Commented:
Yes you can use OWA to delete Active Sync device partnership

Author

Commented:
I want to remove the active device partnetship for 1000 users not only one.
One by one i don't want to do, i am looking for some Shell command to remove this.
is ajay the username of the user in active directory?
Alan HardistyCo-Owner
Top Expert 2011

Commented:
It might have been useful to mention the 1000 users in the question.  We are not mind readers.
Kini pradeepDevelopment Manager
Commented:
Hey this should help.

use get-activesyncdevicestatistice -mailbox mailid
check the identity and note it

Then Remove-ActiveSyncDevice -Identity "use identity given in above cmd"
Alan HardistyCo-Owner
Top Expert 2011

Commented:
Unsubscribed.

Commented:
You can run below command:
Clear-ActiveSyncDevice -Identity Username

Author

Commented:
Clear-ActiveSyncDevice -Identity Username
This is not the right command.
Is there any changes in the Exchange 2010 SP2 ?
Why it is not taking alias names?
Commented:
alanhardisty----What do u mean  "Unsubscribed" ?

Author

Commented:
...

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial